DlgSystemLog.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_DLGSYSTEMLOG_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_)
  9. #define AFX_DLGSYSTEMLOG_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. // CDlgSystemLog dialog
  18. class CDlgSystemLog : public CDialog
  19. {
  20. // Construction
  21. public:
  22. void SetVal(int row,int col,CString str);
  23. CDlgSystemLog(CWnd* pParent = NULL); // standard constructor
  24. // Dialog Data
  25. //{{AFX_DATA(CDlgSystemLog)
  26. enum { IDD = IDD_DLG_SYSTEM_LOG };
  27. CDataGrid m_ctrlGridRec;
  28. //}}AFX_DATA
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CDlgSystemLog)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. public:
  36. CButtonST m_btnQuery, m_btnExport, m_btnExit,m_btnDel;
  37. private:
  38. void SetFields();
  39. void Requery();
  40. void RowSelect();
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. //{{AFX_MSG(CDlgSystemLog)
  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. CComboBox m_ctrlDevName;
  62. CEdit m_ctrlVarDesc;
  63. afx_msg void OnBnClickedBtnClose2();
  64. afx_msg void OnBnClickedBtnClose3();
  65. };
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_ANALOGDLG_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_)