?? autoclosecomputerdlg.h
字號:
// AutoCloseComputerDlg.h : header file
//
#if !defined(AFX_AUTOCLOSECOMPUTERDLG_H__CEEC3B67_10EE_11DA_9B8E_96366BC45359__INCLUDED_)
#define AFX_AUTOCLOSECOMPUTERDLG_H__CEEC3B67_10EE_11DA_9B8E_96366BC45359__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CAutoCloseComputerDlg dialog
class CAutoCloseComputerDlg : public CDialog
{
// Construction
public:
bool timing;
void Timing();
void ClosePC();
void SYSTIME();
double TotalTime;
bool TimeSwitch;
bool AppSwitch;
CAutoCloseComputerDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAutoCloseComputerDlg)
enum { IDD = IDD_AUTOCLOSECOMPUTER_DIALOG };
CStatic m_constatic5timing;
CEdit m_coneditMinute;
CEdit m_coneditHour;
CEdit m_coneditDay;
CButton m_ok;
CStatic m_constatic3;
CEdit m_conedit2;
CString m_systime;
CString m_date;
CString m_valstatic5timing;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAutoCloseComputerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAutoCloseComputerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnCancel();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnButton6();
afx_msg void OnButton7();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AUTOCLOSECOMPUTERDLG_H__CEEC3B67_10EE_11DA_9B8E_96366BC45359__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -