www.pudn.com > ChatSystem_src.zip > LogonDlg.cpp


// LogonDlg.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "ChatClient.h" 
#include "LogonDlg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CLogonDlg dialog 
 
 
CLogonDlg::CLogonDlg(CWnd* pParent /*=NULL*/) 
	: CDialog(CLogonDlg::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CLogonDlg) 
	m_NickName = _T(""); 
	m_Port = 0; 
	m_Server = _T(""); 
	//}}AFX_DATA_INIT 
} 
 
 
void CLogonDlg::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CLogonDlg) 
	DDX_Text(pDX, IDC_NICKNAME, m_NickName); 
	DDX_Text(pDX, IDC_PORT, m_Port); 
	DDV_MinMaxUInt(pDX, m_Port, 0, 3000); 
	DDX_Text(pDX, IDC_SERVER, m_Server); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CLogonDlg, CDialog) 
	//{{AFX_MSG_MAP(CLogonDlg) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CLogonDlg message handlers