www.pudn.com > 3.rar > LogDlg.cpp


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