dlgchangservertcport.cpp

来自「网络文件传输,用于显示屏控制系统」· C++ 代码 · 共 52 行

CPP
52
字号
// Dlgchangservertcport.cpp : implementation file
//

#include "stdafx.h"
#include "ctrl.h"
#include "Dlgchangservertcport.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlgchangservertcport dialog


CDlgchangservertcport::CDlgchangservertcport(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgchangservertcport::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgchangservertcport)
	m_newservertcport = _T("");
	m_oldservertcport = _T("");
	//}}AFX_DATA_INIT
}


void CDlgchangservertcport::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgchangservertcport)
	DDX_Text(pDX, IDC_NEWSERVERTCPORT, m_newservertcport);
	DDX_Text(pDX, IDC_OLDSERVERTCPORT, m_oldservertcport);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDlgchangservertcport, CDialog)
	//{{AFX_MSG_MAP(CDlgchangservertcport)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlgchangservertcport message handlers

void CDlgchangservertcport::OnOK() 
{
	// TODO: Add extra validation here
	flagidok=1;
	CDialog::OnOK();
}

⌨️ 快捷键说明

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