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

📄 transmitpdlg.cpp

📁 用VC做的串口程序
💻 CPP
字号:
// TransmitPDlg.cpp : implementation file
//

#include "stdafx.h"
#include "SimSimens.h"
#include "TransmitPDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CTransmitPDlg dialog


CTransmitPDlg::CTransmitPDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CTransmitPDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CTransmitPDlg)
	m_strLineNo = _T("");
	m_strPost = _T("");
	m_strTrainNo = _T("");
	//}}AFX_DATA_INIT
}


void CTransmitPDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CTransmitPDlg)
	DDX_Text(pDX, IDC_LineNo, m_strLineNo);
	DDV_MaxChars(pDX, m_strLineNo, 1);
	DDX_Text(pDX, IDC_Post, m_strPost);
	DDV_MaxChars(pDX, m_strPost, 3);
	DDX_Text(pDX, IDC_TrainNo, m_strTrainNo);
	DDV_MaxChars(pDX, m_strTrainNo, 4);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CTransmitPDlg, CDialog)
	//{{AFX_MSG_MAP(CTransmitPDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTransmitPDlg message handlers

⌨️ 快捷键说明

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