entitypropertypage1.cpp
来自「快速原型制造分层切片源代码,适用于高温合金.」· C++ 代码 · 共 52 行
CPP
52 行
// 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 + =
减小字号Ctrl + -
显示快捷键?