📄 dialogrecord.h
字号:
#if !defined(AFX_DIALOGRECORD_H__4B1C2B8C_7045_41B7_8A78_867672D17EEF__INCLUDED_)
#define AFX_DIALOGRECORD_H__4B1C2B8C_7045_41B7_8A78_867672D17EEF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DialogRecord.h : header file
//
#include "DBOperator.h"
/////////////////////////////////////////////////////////////////////////////
// CDialogRecord dialog
class CDialogRecord : public CDialog
{
// Construction
public:
CDialogRecord(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDialogRecord)
enum { IDD = IDD_RECORD };
CBMPButton m_btnUpdateRecord;
CBMPButton m_btnDelRecord;
CString m_strUser;
CString m_strClass;
CTime m_timeRecord;
CString m_strID;
CString m_strRemark;
CString m_strSum;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDialogRecord)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog();
//}}AFX_VIRTUAL
// Implementation
public:
void setRecordInfo(char* strID,
char* strSum,
char* strOperator,
char* strClass,
char* strDate,
char* strRemark,
CSysDataStruct::CClassInfo& ClassInfo);
void IsMoneyIn(bool bValue);
protected:
// Generated message map functions
//{{AFX_MSG(CDialogRecord)
afx_msg void OnDelrecord();
afx_msg void OnUpdaterecord();
afx_msg BOOL OnEraseBkgnd( CDC* pDC );
afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
bool m_bIsMoneyIn;
CSysDataStruct::CClassInfo m_ClassInfo;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DIALOGRECORD_H__4B1C2B8C_7045_41B7_8A78_867672D17EEF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -