DlgQueryWarningRec.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CDlgQueryWarningRec)
  30. protected:
  31. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  32. //}}AFX_VIRTUAL
  33. public:
  34. CButtonST m_btnQuery, m_btnExit,m_btnDel,m_btnExport;
  35. private:
  36. void SetFields();
  37. void Requery();
  38. void RowSelect();
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CDlgQueryWarningRec)
  43. virtual void OnOK();
  44. virtual void OnCancel();
  45. virtual BOOL OnInitDialog();
  46. DECLARE_EVENTSINK_MAP()
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. public:
  50. protected:
  51. virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
  52. public:
  53. CDateTimeCtrl m_ctrlStartDate;
  54. CDateTimeCtrl m_ctrlEndDate;
  55. afx_msg void OnBnClickedBtnClose();
  56. afx_msg void OnBnClickedBtnQuery();
  57. afx_msg void OnBnClickedBtnDel();
  58. afx_msg void OnBnClickedBtnExport();
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_ANALOGDLG_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_)