DlgQueryWarningRec.h 1.9 KB

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