HoursTestDlg.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // HoursTestDlg.h : header file
  2. //
  3. //{{AFX_INCLUDES()
  4. #include "hoursselector.h"
  5. //}}AFX_INCLUDES
  6. #if !defined(AFX_HOURSTESTDLG_H__169F2A87_BED8_11D3_9FF1_0004AC1DC008__INCLUDED_)
  7. #define AFX_HOURSTESTDLG_H__169F2A87_BED8_11D3_9FF1_0004AC1DC008__INCLUDED_
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CHoursTestDlg dialog
  13. class CHoursTestDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17. CHoursTestDlg(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(CHoursTestDlg)
  20. enum { IDD = IDD_HOURSTEST_DIALOG };
  21. COleDateTime m_odtDate;
  22. COleDateTime m_odtTime;
  23. CString m_strVerbose;
  24. CHoursSelector m_hsTimes;
  25. //}}AFX_DATA
  26. void DealArray(unsigned char nBuf[7][24]);
  27. bool CompareStr(CString str1, CString str2,int nSign);
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CHoursTestDlg)
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  32. //}}AFX_VIRTUAL
  33. // Implementation
  34. protected:
  35. HICON m_hIcon;
  36. // Generated message map functions
  37. //{{AFX_MSG(CHoursTestDlg)
  38. virtual BOOL OnInitDialog();
  39. afx_msg void OnPaint();
  40. afx_msg HCURSOR OnQueryDragIcon();
  41. afx_msg void OnCheck();
  42. afx_msg void OnVerboseHoursselector(LPCTSTR pszVerbose);
  43. DECLARE_EVENTSINK_MAP()
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. public:
  47. afx_msg void OnBnClickedButton1();
  48. afx_msg void OnBnClickedButton2();
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_HOURSTESTDLG_H__169F2A87_BED8_11D3_9FF1_0004AC1DC008__INCLUDED_)