PageStatistics.h 865 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #include "afxcmn.h"
  3. #include "afxdtctl.h"
  4. #include "ListSortCtrl.h"
  5. #include "afxwin.h"
  6. // CPageStatistics 对话框
  7. class CPageStatistics : public CDialogEx
  8. {
  9. DECLARE_DYNAMIC(CPageStatistics)
  10. public:
  11. CPageStatistics(CWnd* pParent = NULL); // 标准构造函数
  12. virtual ~CPageStatistics();
  13. // 对话框数据
  14. enum { IDD = PAGE_STATISTICS };
  15. protected:
  16. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
  17. DECLARE_MESSAGE_MAP()
  18. public:
  19. virtual BOOL OnInitDialog();
  20. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  21. CListSortCtrl m_ctrlList;
  22. CDateTimeCtrl m_dtStartTime;
  23. CDateTimeCtrl m_dtEndTime;
  24. afx_msg void OnBnClickedBatchNum();
  25. CComboBox m_ctrlCombobox;
  26. afx_msg void OnBnClickedQuery();
  27. void UpdateList(std::vector<TB_STATIS> &vtStatis);
  28. afx_msg void OnNMCustomdrawList1(NMHDR *pNMHDR, LRESULT *pResult);
  29. };