📄 mdialog1.cpp
字号:
// mDialog1.cpp : implementation file
//
#include "stdafx.h"
#include "Pattern_2.h"
#include "mDialog1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// mDialog1 dialog
mDialog1::mDialog1(CWnd* pParent /*=NULL*/)
: CDialog(mDialog1::IDD, pParent)
{
//{{AFX_DATA_INIT(mDialog1)
m_lengthnum=1000;
m_depthnum=500;
m_sticknum=1;
//}}AFX_DATA_INIT
}
void mDialog1::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(mDialog1)
DDX_Text(pDX, IDC_lengthnum, m_lengthnum);
DDX_Text(pDX, IDC_depthnum, m_depthnum);
DDX_Text(pDX, IDC_sticknum, m_sticknum);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(mDialog1, CDialog)
//{{AFX_MSG_MAP(mDialog1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// mDialog1 message handlers
void mDialog1::OnUpdatealfa()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function to send the EM_SETEVENTMASK message to the control
// with the ENM_UPDATE flag ORed into the lParam mask.
// TODO: Add your control notification handler code here
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -