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