📄 setting7.cpp
字号:
// Setting7.cpp : implementation file
//
#include "stdafx.h"
#include "ConsoleDisplay.h"
#include "Setting7.h"
#include "SetTime.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetting7 dialog
CSetting7::CSetting7(CWnd* pParent /*=NULL*/)
: CDialog(CSetting7::IDD, pParent)
{
//{{AFX_DATA_INIT(CSetting7)
m_settime = _T("11 : 25");
//}}AFX_DATA_INIT
}
void CSetting7::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetting7)
DDX_Text(pDX, IDC_EDIT1, m_settime);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetting7, CDialog)
//{{AFX_MSG_MAP(CSetting7)
ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetting7 message handlers
void CSetting7::OnButton2()
{
// TODO: Add your control notification handler code here
CDialog::OnOK();
CSetTime a;
a.DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -