📄 machineadd.cpp
字号:
// MachineAdd.cpp : implementation file
//
#include "stdafx.h"
#include "NC.h"
#include "MachineAdd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMachineAdd dialog
CMachineAdd::CMachineAdd(CWnd* pParent /*=NULL*/)
: CDialog(CMachineAdd::IDD, pParent)
{
//{{AFX_DATA_INIT(CMachineAdd)
m_name = _T("");
m_com= _T("COM1");
m_description= _T("没什么可介绍的!");
//}}AFX_DATA_INIT
}
void CMachineAdd::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CMachineAdd)
DDX_Text(pDX, IDC_NAME, m_name);
DDX_CBString(pDX, IDC_COM, m_com);
DDX_Text(pDX, IDC_description, m_description);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CMachineAdd, CDialog)
//{{AFX_MSG_MAP(CMachineAdd)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMachineAdd message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -