📄 netsetdlg.cpp
字号:
// NetSetDlg.cpp : implementation file
//
#include "stdafx.h"
#include "chinesechess.h"
#include "NetSetDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CNetSetDlg dialog
CNetSetDlg::CNetSetDlg(CWnd* pParent /*=NULL*/)
: CDialog(CNetSetDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CNetSetDlg)
m_Port = 0;
m_strIPAddr = _T("");
//}}AFX_DATA_INIT
}
void CNetSetDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CNetSetDlg)
DDX_Control(pDX, IDOK, m_Sure);
DDX_Control(pDX, IDCANCEL, m_Cancle);
DDX_Text(pDX, IDC_EDIT_PORT, m_Port);
DDX_Text(pDX, IDC_EDIT_IPADDR, m_strIPAddr);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CNetSetDlg, CDialog)
//{{AFX_MSG_MAP(CNetSetDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CNetSetDlg message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -