⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.cpp

📁 一个基于vc++的c/s架构的网络教学答疑系统。我的软件工程上机报告。
💻 CPP
字号:
// 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");
	m_strMajor = _T("1 硬件");
	m_strType = _T("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);
	DDX_CBString(pDX, IDC_MAJOR, m_strMajor);
	DDX_CBString(pDX, IDC_LOGINTYPE, m_strType);
	//}}AFX_DATA_MAP
	int i = m_strName.GetLength();
	int j = i / 2;
	if (i != j * 2)
		m_strName += " ";
}


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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -