📄 rectdlg.cpp
字号:
// RectDlg.cpp : implementation file
//
#include "stdafx.h"
#include "ex22.h"
#include "RectDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRectDlg dialog
CRectDlg::CRectDlg(CWnd* pParent /*=NULL*/)
: CDialog(CRectDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CRectDlg)
m_length = 0;
m_width = 0;
//}}AFX_DATA_INIT
}
void CRectDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CRectDlg)
DDX_Text(pDX, IDC_EDIT1, m_length);
DDX_Text(pDX, IDC_EDIT2, m_width);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRectDlg, CDialog)
//{{AFX_MSG_MAP(CRectDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRectDlg message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -