📄 changedialog.cpp
字号:
// ChangeDialog.cpp : implementation file
//
#include "stdafx.h"
#include "dianji3.h"
#include "ChangeDialog.h"
#include "dianji3Dlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CChangeDialog dialog
CChangeDialog::CChangeDialog(CWnd* pParent /*=NULL*/)
: CDialog(CChangeDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CChangeDialog)
m_100Second = 0;
m_Hour = 0;
m_Minute = 0;
m_Second = 0; // NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CChangeDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CChangeDialog)
DDX_Control(pDX, IDOK, m_Ok);
DDX_Control(pDX, IDCANCEL, m_Cancel);
DDX_Text(pDX, IDC_100SECOND, m_100Second);
DDX_Text(pDX, IDC_HOUR, m_Hour);
DDX_Text(pDX, IDC_MINUTE, m_Minute);
DDX_Text(pDX, IDC_SECOND, m_Second); // NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CChangeDialog, CDialog)
//{{AFX_MSG_MAP(CChangeDialog)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CChangeDialog message handlers
void CChangeDialog::OnOK()
{
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -