www.pudn.com > DNC.rar > Com2Set.cpp


// Com2Set.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "NC.h" 
#include "Com2Set.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CCom2Set dialog 
 
 
CCom2Set::CCom2Set(CWnd* pParent /*=NULL*/) 
	: CDialog(CCom2Set::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CCom2Set) 
	m_bit = _T("9600"); 
	m_jiaoyan = _T("ȱʡ"); 
	m_shuju = _T("1"); 
	m_tingzhi = _T("8"); 
	m_handshake = _T("NONE"); 
	//}}AFX_DATA_INIT 
} 
 
 
void CCom2Set::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CCom2Set) 
	DDX_CBString(pDX, IDC_COMBO1, m_bit); 
	DDX_CBString(pDX, IDC_COMBO2, m_jiaoyan); 
	DDX_CBString(pDX, IDC_COMBO3, m_tingzhi); 
	DDX_CBString(pDX, IDC_COMBO4, m_shuju); 
	DDX_CBString(pDX, IDC_COMBO5, m_handshake); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CCom2Set, CDialog) 
	//{{AFX_MSG_MAP(CCom2Set) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CCom2Set message handlers