⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 machineedit.cpp

📁 自己编的把数控代码用RS232口由计算机传输到数控机床的程序
💻 CPP
字号:
// MachineEdit.cpp : implementation file
//

#include "stdafx.h"
#include "NC.h"
#include "MachineEdit.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMachineEdit dialog


CMachineEdit::CMachineEdit(CWnd* pParent /*=NULL*/)
	: CDialog(CMachineEdit::IDD, pParent)
{
	//{{AFX_DATA_INIT(CMachineEdit)
	m_description = _T("没有什么可说的!");
	m_com = _T("COM1");
	//}}AFX_DATA_INIT
}


void CMachineEdit::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CMachineEdit)
	DDX_Text(pDX, IDC_description, m_description);
	DDX_CBString(pDX, IDC_COM, m_com);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CMachineEdit message handlers

BOOL CMachineEdit::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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