DialogRecord.h
上传用户:xiaoke98
上传日期:2014-06-29
资源大小:5718k
文件大小:2k
- #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_)