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

家庭/个人应用

开发平台:

Visual C++

  1. #if !defined(AFX_DIALOGBALANCE_H__48202AAD_6AA4_480B_B7D5_B228E6B7673C__INCLUDED_)
  2. #define AFX_DIALOGBALANCE_H__48202AAD_6AA4_480B_B7D5_B228E6B7673C__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DialogBalance.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CDialogBalance dialog
  10. class CDialogBalance : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CDialogBalance(CWnd* pParent = NULL);   // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CDialogBalance)
  17. enum { IDD = IDD_BALANCE };
  18. CBMPButton m_btnSearch;
  19. CTreeCtrl m_treeBalance;
  20. CTime m_timeStart;
  21. CTime m_timeEnd;
  22. CString m_strBalanceIn;
  23. CString m_strBalanceOut;
  24. CString m_strBalanceSurplus;
  25. //}}AFX_DATA
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CDialogBalance)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  31. virtual void OnOK( );
  32. virtual BOOL OnInitDialog();
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. // Generated message map functions
  37. //{{AFX_MSG(CDialogBalance)
  38. afx_msg HBRUSH OnCtlColor( CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  39. afx_msg BOOL OnEraseBkgnd( CDC* pDC );
  40. afx_msg void OnSearch();
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. private:
  44. void  DispalyBackBmp(CDC* pDC);
  45. void SearchBalance(CString& strStartTime, 
  46.   CString& strEndTime, 
  47.   CString& strBalanceIn, 
  48.   CString& strBalanceOut);
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_DIALOGBALANCE_H__48202AAD_6AA4_480B_B7D5_B228E6B7673C__INCLUDED_)