mirror of
https://github.com/JasonYANG170/TimedShutdown.git
synced 2024-11-23 12:06:39 +00:00
39 lines
793 B
C++
39 lines
793 B
C++
|
|
// MFCApplication1Dlg.h: 头文件
|
|
//
|
|
#pragma once
|
|
|
|
|
|
// CMFCApplication1Dlg 对话框
|
|
class CMFCApplication1Dlg : public CDialogEx
|
|
{
|
|
// 构造
|
|
public:
|
|
CMFCApplication1Dlg(CWnd* pParent = nullptr); // 标准构造函数
|
|
|
|
// 对话框数据
|
|
#ifdef AFX_DESIGN_TIME
|
|
enum { IDD = IDD_MFCAPPLICATION1_DIALOG };
|
|
#endif
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
|
|
|
|
// 实现
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
// 生成的消息映射函数
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
afx_msg void OnPaint();
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
afx_msg void OnBnClickedButton2();
|
|
afx_msg void OnBnClickedButton3();
|
|
afx_msg void OnBnClickedButton1();
|
|
afx_msg void OnBnClickedButton4();
|
|
};
|