www.gusucode.com > 一些VC++网络编程实例源代码-源码程序 > 一些VC++网络编程实例源代码-源码程序\code\第三章\chat\ChatClient\Login.cpp
//Download by http://www.NewXing.com // Login.cpp : implementation file // #include "stdafx.h" #include "chatclient.h" #include "Login.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CLogin dialog CLogin::CLogin(CWnd* pParent /*=NULL*/) : CDialog(CLogin::IDD, pParent) { //{{AFX_DATA_INIT(CLogin) m_strImage = _T("6"); m_strName = _T("杨柳"); m_strServerIP = _T("127.0.0.1"); //}}AFX_DATA_INIT } void CLogin::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CLogin) DDX_CBString(pDX, IDC_IMAGE, m_strImage); DDX_CBString(pDX, IDC_NAME, m_strName); DDX_Text(pDX, IDC_SERVER, m_strServerIP); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CLogin, CDialog) //{{AFX_MSG_MAP(CLogin) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CLogin message handlers