//{{AFX_INCLUDES() #include "DataGrid.h" #include "DataComboBox.h" #include "BtnST.h" #include "afxdtctl.h" #include "afxwin.h" //}}AFX_INCLUDES #if !defined(AFX_DLGNOTICEREC_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_) #define AFX_DLGNOTICEREC_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_ #include "..\ChineseRes\ChineseRes\resource.h" #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // AnalogDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDlgNoticeRec dialog class CDlgNoticeRec : public CDialog { // Construction public: void SetVal(int row,int col,CString str); CDlgNoticeRec(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CDlgNoticeRec) enum { IDD = IDD_DLG_NOTICE_REC }; CDataGrid m_ctrlEmailRec; CDataGrid m_ctrlTelRec; CDataGrid m_ctrlSmsRec; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDlgNoticeRec) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL public: CButtonST m_btnQuery, m_btnExport, m_btnExit,m_btnDel; private: void SetFields(); void RequeryEmail(); void RequerySms(); void RequeryTel(); void RowSelect(); // Implementation protected: // Generated message map functions //{{AFX_MSG(CDlgNoticeRec) virtual void OnOK(); virtual void OnCancel(); virtual BOOL OnInitDialog(); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() public: protected: virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult); public: CDateTimeCtrl m_ctrlStartDate; CDateTimeCtrl m_ctrlEndDate; afx_msg void OnBnClickedBtnClose(); afx_msg void OnBnClickedBtnQuery(); afx_msg void OnBnClickedBtnDel(); afx_msg void OnBnClickedBtnExport(); CComboBox m_ctrlDevName; CEdit m_ctrlVarDesc; afx_msg void OnBnClickedBtnClose2(); afx_msg void OnBnClickedBtnClose3(); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ANALOGDLG_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_)