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

📄 servinfodlg.cpp

📁 面向软件工程的Visual C++网络程序开发
💻 CPP
字号:
// ServInfoDlg.cpp : implementation file
//

#include "stdafx.h"
#include "Server.h"
#include "ServInfoDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CServInfoDlg dialog


CServInfoDlg::CServInfoDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CServInfoDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CServInfoDlg)
	m_strIP = _T("192.168.0.2");
	m_uPort = 2000;
	//}}AFX_DATA_INIT
}


void CServInfoDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CServInfoDlg)
	DDX_Text(pDX, IDC_SERVIP_EDIT, m_strIP);
	DDX_Text(pDX, IDC_SERVPORT_EDIT, m_uPort);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CServInfoDlg, CDialog)
	//{{AFX_MSG_MAP(CServInfoDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CServInfoDlg message handlers

⌨️ 快捷键说明

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