⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 poweroffdlg.h

📁 主要用于宿舍上网计时
💻 H
字号:
#if !defined(AFX_POWEROFFDLG_H__46B6D803_A8A8_4F46_8DF5_E7754068DD28__INCLUDED_)
#define AFX_POWEROFFDLG_H__46B6D803_A8A8_4F46_8DF5_E7754068DD28__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PowerOffDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPowerOffDlg dialog

class CPowerOffDlg : public CDialog
{
// Construction
public:
	CPowerOffDlg(CWnd* pParent = NULL);   // standard constructor
	bool n_ok;//关机启动标志
	CTimeSpan timeoff;

// Dialog Data
	//{{AFX_DATA(CPowerOffDlg)
	enum { IDD = IDD_DIALOG_OFF };
	int		m_Day;
	int		m_Hour;
	int		m_Min;
	int		m_Mon;
	int		m_Sec;
	int		m_Year;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPowerOffDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CPowerOffDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_POWEROFFDLG_H__46B6D803_A8A8_4F46_8DF5_E7754068DD28__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -