DlgNoticeRec.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. //{{AFX_INCLUDES()
  2. #include "DataGrid.h"
  3. #include "DataComboBox.h"
  4. #include "BtnST.h"
  5. #include "afxdtctl.h"
  6. #include "afxwin.h"
  7. //}}AFX_INCLUDES
  8. #if !defined(AFX_DLGNOTICEREC_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_)
  9. #define AFX_DLGNOTICEREC_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_
  10. #include "resource.h"
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif // _MSC_VER > 1000
  14. // AnalogDlg.h : header file
  15. //
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CDlgNoticeRec dialog
  18. class CDlgNoticeRec : public CDialog
  19. {
  20. // Construction
  21. public:
  22. void SetVal(int row,int col,CString str);
  23. CDlgNoticeRec(CWnd* pParent = NULL); // standard constructor
  24. // Dialog Data
  25. //{{AFX_DATA(CDlgNoticeRec)
  26. enum { IDD = IDD_DLG_NOTICE_REC };
  27. CDataGrid m_ctrlEmailRec;
  28. CDataGrid m_ctrlTelRec;
  29. CDataGrid m_ctrlSmsRec;
  30. //}}AFX_DATA
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CDlgNoticeRec)
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. public:
  38. CButtonST m_btnQuery, m_btnExport, m_btnExit,m_btnDel;
  39. private:
  40. void SetFields();
  41. void RequeryEmail();
  42. void RequerySms();
  43. void RequeryTel();
  44. void RowSelect();
  45. // Implementation
  46. protected:
  47. // Generated message map functions
  48. //{{AFX_MSG(CDlgNoticeRec)
  49. virtual void OnOK();
  50. virtual void OnCancel();
  51. virtual BOOL OnInitDialog();
  52. DECLARE_EVENTSINK_MAP()
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. public:
  56. protected:
  57. virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
  58. public:
  59. CDateTimeCtrl m_ctrlStartDate;
  60. CDateTimeCtrl m_ctrlEndDate;
  61. afx_msg void OnBnClickedBtnClose();
  62. afx_msg void OnBnClickedBtnQuery();
  63. afx_msg void OnBnClickedBtnDel();
  64. afx_msg void OnBnClickedBtnExport();
  65. CComboBox m_ctrlDevName;
  66. CEdit m_ctrlVarDesc;
  67. afx_msg void OnBnClickedBtnClose2();
  68. afx_msg void OnBnClickedBtnClose3();
  69. };
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_ANALOGDLG_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_)