📄 entitypropertypage1.cpp
字号:
// EntityPropertyPage1.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "EntityPropertyPage1.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CEntityPropertyPage1, CPropertyPage)
/////////////////////////////////////////////////////////////////////////////
// CEntityPropertyPage1 property page
CEntityPropertyPage1::CEntityPropertyPage1() : CPropertyPage(CEntityPropertyPage1::IDD)
{
//{{AFX_DATA_INIT(CEntityPropertyPage1)
m_centerPosX = 0.0;
m_centerPosY = 0.0;
m_endHeight = 0.0;
m_startHeight = 0.0;
//}}AFX_DATA_INIT
}
CEntityPropertyPage1::~CEntityPropertyPage1()
{
}
void CEntityPropertyPage1::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CEntityPropertyPage1)
DDX_Text(pDX, IDC_CENTER_X, m_centerPosX);
DDX_Text(pDX, IDC_CENTER_Y, m_centerPosY);
DDX_Text(pDX, IDC_END_HEIGHT, m_endHeight);
DDX_Text(pDX, IDC_START_HEIGHT, m_startHeight);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CEntityPropertyPage1, CPropertyPage)
//{{AFX_MSG_MAP(CEntityPropertyPage1)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -