posicion.cpp

来自「CAM控制软件源代码 非常好的一个程序」· C++ 代码 · 共 48 行

CPP
48
字号
// Posicion.cpp : implementation file
//

#include "stdafx.h"
#include "Programa.h"
#include "Posicion.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CPosicion dialog


CPosicion::CPosicion(CWnd* pParent /*=NULL*/)
	: CDialog(CPosicion::IDD, pParent)
{
	//{{AFX_DATA_INIT(CPosicion)
	m_dPosX = 0.0;
	m_dPosY = 0.0;
	//}}AFX_DATA_INIT
}


void CPosicion::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CPosicion)
	DDX_Text(pDX, IDC_POSX, m_dPosX);
	DDV_MinMaxDouble(pDX, m_dPosX, -300., 300.);
	DDX_Text(pDX, IDC_POSY, m_dPosY);
	DDV_MinMaxDouble(pDX, m_dPosY, -300., 300.);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CPosicion, CDialog)
	//{{AFX_MSG_MAP(CPosicion)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPosicion message handlers

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?