www.pudn.com > final_6.rar > ParaDialog.cpp


// ParaDialog.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "CG.h" 
#include "ParaDialog.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CParaDialog dialog 
 
 
CParaDialog::CParaDialog(CWnd* pParent /*=NULL*/) 
	: CDialog(CParaDialog::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CParaDialog) 
	m_x = 1; 
	m_y = 1; 
	m_z = 1; 
	//}}AFX_DATA_INIT 
} 
 
 
void CParaDialog::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CParaDialog) 
	DDX_Text(pDX, IDC_VECTOR_X, m_x); 
	DDX_Text(pDX, IDC_VECTOR_Y, m_y); 
	DDX_Text(pDX, IDC_VECTOR_Z, m_z); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CParaDialog, CDialog) 
	//{{AFX_MSG_MAP(CParaDialog) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CParaDialog message handlers