www.pudn.com > 7_2.zip > Connect.cpp


// Connect.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "8_1.h" 
#include "Connect.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CConnect dialog 
 
 
CConnect::CConnect(CWnd* pParent /*=NULL*/) 
	: CDialog(CConnect::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CConnect) 
	m_server = _T("wps"); 
	m_port = 100; 
	//}}AFX_DATA_INIT 
} 
 
 
void CConnect::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CConnect) 
	DDX_Text(pDX, IDC_SERVER, m_server); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CConnect, CDialog) 
	//{{AFX_MSG_MAP(CConnect) 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CConnect message handlers