DlgDatePlan.h 828 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #pragma once
  2. #include "afxwin.h"
  3. #include "afxcmn.h"
  4. //{{AFX_INCLUDES()
  5. #include "HoursSelector.h"
  6. //}}AFX_INCLUDES
  7. // CDlgDatePlan 对话框
  8. class CDlgDatePlan : public CDialog
  9. {
  10. DECLARE_DYNAMIC(CDlgDatePlan)
  11. public:
  12. CDlgDatePlan(CWnd* pParent = NULL); // 标准构造函数
  13. virtual ~CDlgDatePlan();
  14. // 对话框数据
  15. enum { IDD = IDD_DLG_DATE_PLAN };
  16. protected:
  17. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
  18. DECLARE_MESSAGE_MAP()
  19. private:
  20. public:
  21. CHoursSelector m_ocxHourSelector;
  22. CString m_strUserID;
  23. int m_nPlanType;
  24. CString m_strUid;
  25. int m_nVarID;
  26. virtual BOOL OnInitDialog();
  27. private:
  28. void DealArray(unsigned char nBuf[7][24]);
  29. bool CompareStr(CString str1, CString str2,int nSign);
  30. public:
  31. afx_msg void OnBnClickedOk();
  32. afx_msg void OnBnClickedCancel();
  33. CString m_sDoSetPlanTime;
  34. };