#pragma once // CDialogEventLog 对话框 class CDialogEventLog : public CDialogEx { DECLARE_DYNAMIC(CDialogEventLog) public: CDialogEventLog(CWnd* pParent = nullptr); // 标准构造函数 virtual ~CDialogEventLog(); // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_DIALOG_EVENTLOG }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() public: CListCtrl m_list_eventlog; afx_msg void OnBnClickedButtonClearEventlog(); afx_msg void OnBnClickedButtonReload(); virtual BOOL OnInitDialog(); int UpLoadEventLog(); int GetEventLogStatus(); int m_nEventCount; int m_nCurEvent; int GetEventLogByIndex(int nIndex); afx_msg void OnTimer(UINT_PTR nIDEvent); int DelayInit(); int GetEventProcess(); };