📄 inputport.cpp
字号:
// InPutPort.cpp : 实现文件
//
#include "stdafx.h"
#include "net.h"
#include "InPutPort.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// CInPutPort 对话框
CInPutPort::CInPutPort(CWnd* pParent /*=NULL*/)
: CDialog(CInPutPort::IDD, pParent)
{
//{{AFX_DATA_INIT(CInPutPort)
m_nInPort = 0;
//}}AFX_DATA_INIT
}
void CInPutPort::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CInPutPort)
DDX_Text(pDX, IDC_EDIT1, m_nInPort);
DDV_MinMaxInt(pDX, m_nInPort, 1, 999);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CInPutPort, CDialog)
//{{AFX_MSG_MAP(CInPutPort)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CInPutPort message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -