📄 dlgviewcom.cpp
字号:
// DlgViewCom.cpp : implementation file
//
#include "stdafx.h"
#include "rt.h"
#include "DlgViewCom.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgViewCom dialog
CDlgViewCom::CDlgViewCom(CWnd* pParent /*=NULL*/)
: CDialog(CDlgViewCom::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgViewCom)
m_sBaund = _T("");
m_sCom = _T("");
m_sData = _T("");
m_sParity = _T("");
m_sStop = _T("");
m_sHand = _T("");
//}}AFX_DATA_INIT
}
void CDlgViewCom::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgViewCom)
DDX_Text(pDX, IDC_EDIT_BAUND, m_sBaund);
DDX_Text(pDX, IDC_EDIT_COM, m_sCom);
DDX_Text(pDX, IDC_EDIT_DATA, m_sData);
DDX_Text(pDX, IDC_EDIT_PARITY, m_sParity);
DDX_Text(pDX, IDC_EDIT_STOP, m_sStop);
DDX_Text(pDX, IDC_EDIT_HAND, m_sHand);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgViewCom, CDialog)
//{{AFX_MSG_MAP(CDlgViewCom)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgViewCom message handlers
void CDlgViewCom::SetValue(CString sCom,CString sBaund, CString sStop, CString sData, CString sParity, CString sHand)
{
//UpdateData();
m_sBaund = sBaund;
m_sCom = sCom;
m_sData = sData;
m_sParity = sParity;
m_sStop = sStop;
m_sHand = sHand;
//UpdateData(FALSE);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -