DialogRecord.h
上传用户:xiaoke98
上传日期:2014-06-29
资源大小:5718k
文件大小:2k
源码类别:

家庭/个人应用

开发平台:

Visual C++

  1. #if !defined(AFX_DIALOGRECORD_H__4B1C2B8C_7045_41B7_8A78_867672D17EEF__INCLUDED_)
  2. #define AFX_DIALOGRECORD_H__4B1C2B8C_7045_41B7_8A78_867672D17EEF__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DialogRecord.h : header file
  7. //
  8. #include "DBOperator.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CDialogRecord dialog
  11. class CDialogRecord : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CDialogRecord(CWnd* pParent = NULL);   // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CDialogRecord)
  18. enum { IDD = IDD_RECORD };
  19. CBMPButton m_btnUpdateRecord;
  20. CBMPButton m_btnDelRecord;
  21. CString m_strUser;
  22. CString m_strClass;
  23. CTime m_timeRecord;
  24. CString m_strID;
  25. CString m_strRemark;
  26. CString m_strSum;
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CDialogRecord)
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  33. virtual BOOL OnInitDialog();
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. public:
  37. void setRecordInfo(char* strID, 
  38. char* strSum, 
  39. char* strOperator, 
  40. char* strClass, 
  41. char* strDate,
  42. char* strRemark,
  43. CSysDataStruct::CClassInfo& ClassInfo);
  44. void IsMoneyIn(bool bValue);
  45. protected:
  46. // Generated message map functions
  47. //{{AFX_MSG(CDialogRecord)
  48. afx_msg void OnDelrecord();
  49. afx_msg void OnUpdaterecord();
  50. afx_msg BOOL OnEraseBkgnd( CDC* pDC );
  51. afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. private:
  55. bool m_bIsMoneyIn;
  56. CSysDataStruct::CClassInfo m_ClassInfo;
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_DIALOGRECORD_H__4B1C2B8C_7045_41B7_8A78_867672D17EEF__INCLUDED_)