www.pudn.com > DNC.rar > MachineAdd.cpp
// MachineAdd.cpp : implementation file
//
#include "stdafx.h"
#include "NC.h"
#include "MachineAdd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMachineAdd dialog
CMachineAdd::CMachineAdd(CWnd* pParent /*=NULL*/)
: CDialog(CMachineAdd::IDD, pParent)
{
//{{AFX_DATA_INIT(CMachineAdd)
m_name = _T("");
m_com= _T("COM1");
m_description= _T("ûʲô¿É½éÉܵģ¡");
//}}AFX_DATA_INIT
}
void CMachineAdd::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CMachineAdd)
DDX_Text(pDX, IDC_NAME, m_name);
DDX_CBString(pDX, IDC_COM, m_com);
DDX_Text(pDX, IDC_description, m_description);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CMachineAdd, CDialog)
//{{AFX_MSG_MAP(CMachineAdd)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMachineAdd message handlers