//{{AFX_INCLUDES() #include "DataGrid.h" #include "DataComboBox.h" #include "BtnST.h" #include "afxdtctl.h" //}}AFX_INCLUDES #if !defined(AFX_DLGQUERYWARNINGREC_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_) #define AFX_DLGQUERYWARNINGREC_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // AnalogDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDlgQueryWarningRec dialog class CDlgQueryWarningRec : public CDialog { // Construction public: void SetVal(int row,int col,CString str); CDlgQueryWarningRec(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CDlgQueryWarningRec) enum { IDD = IDD_DLG_WARNING_QUERY }; CDataGrid m_ctrlGridRec; CComboBox m_Comb_Device; CComboBox m_Comb_Area; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDlgQueryWarningRec) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL public: CButtonST m_btnQuery, m_btnExit,m_btnDel,m_btnExport; private: void SetFields(); void Requery(); void RowSelect(); // Implementation protected: // Generated message map functions //{{AFX_MSG(CDlgQueryWarningRec) 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(); }; //{{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_)