📄 dialog1.cpp
字号:
// dialog1.cpp : implementation file
//
#include <stdafx.h>
#include "me_dx.h"
#include "dialog1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// dialog1 dialog
dialog1::dialog1(CWnd* pParent /*=NULL*/)
: CDialog(dialog1::IDD, pParent)
{
//{{AFX_DATA_INIT(dialog1)
m_Width = 0;
m_Height = 0;
m_Levels = 0;
m_BaseTr = 0;
//}}AFX_DATA_INIT
}
void dialog1::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(dialog1)
DDX_Text(pDX, IDC_EDIT1, m_Width);
DDX_Text(pDX, IDC_EDIT2, m_Height);
DDX_Text(pDX, IDC_EDIT3, m_Levels);
DDX_Text(pDX, IDC_EDIT4, m_BaseTr);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(dialog1, CDialog)
//{{AFX_MSG_MAP(dialog1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// dialog1 message handlers
void dialog1::OnCancel()
{
// TODO: Add extra cleanup here
CDialog::OnCancel();
}
void dialog1::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -