dlgchangudport.cpp

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

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

#include "stdafx.h"
#include "ctrl.h"
#include "Dlgchangudport.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlgchangudport dialog


CDlgchangudport::CDlgchangudport(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgchangudport::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgchangudport)
	m_newudport = _T("");
	m_oldudport = _T("");
	//}}AFX_DATA_INIT
}


void CDlgchangudport::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgchangudport)
	DDX_Text(pDX, IDC_NEWUDPORT, m_newudport);
	DDX_Text(pDX, IDC_OLDUDPORT, m_oldudport);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CDlgchangudport message handlers

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

⌨️ 快捷键说明

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