📄 editdlg.cpp
字号:
// EditDlg.cpp : implementation file
//
#include "stdafx.h"
#include "MPC2810Demo.h"
#include "EditDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEditDlg dialog
CEditDlg::CEditDlg(CWnd* pParent /*=NULL*/)
: CDialog(CEditDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CEditDlg)
m_sPara1 = _T("");
m_sPara2 = _T("");
m_sPara3 = _T("");
m_sPara4 = _T("");
m_sPara5 = _T("");
m_sPara6 = _T("");
m_sPara7 = _T("");
m_sPara8 = _T("");
m_sParaName1 = _T("");
m_sParaName2 = _T("");
m_sParaName3 = _T("");
m_sParaName4 = _T("");
m_sParaName5 = _T("");
m_sParaName6 = _T("");
m_sParaName7 = _T("");
m_sParaName8 = _T("");
//}}AFX_DATA_INIT
}
void CEditDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CEditDlg)
DDX_Control(pDX, IDC_EDIT8, m_cEdit8);
DDX_Control(pDX, IDC_EDIT7, m_cEdit7);
DDX_Control(pDX, IDC_EDIT6, m_cEdit6);
DDX_Control(pDX, IDC_EDIT5, m_cEdit5);
DDX_Control(pDX, IDC_EDIT4, m_cEdit4);
DDX_Control(pDX, IDC_EDIT3, m_cEdit3);
DDX_Control(pDX, IDC_EDIT2, m_cEdit2);
DDX_Control(pDX, IDC_EDIT1, m_cEdit1);
DDX_Text(pDX, IDC_EDIT1, m_sPara1);
DDX_Text(pDX, IDC_EDIT2, m_sPara2);
DDX_Text(pDX, IDC_EDIT3, m_sPara3);
DDX_Text(pDX, IDC_EDIT4, m_sPara4);
DDX_Text(pDX, IDC_EDIT5, m_sPara5);
DDX_Text(pDX, IDC_EDIT6, m_sPara6);
DDX_Text(pDX, IDC_EDIT7, m_sPara7);
DDX_Text(pDX, IDC_EDIT8, m_sPara8);
DDX_Text(pDX, IDC_STATIC_PAR1, m_sParaName1);
DDX_Text(pDX, IDC_STATIC_PAR2, m_sParaName2);
DDX_Text(pDX, IDC_STATIC_PAR3, m_sParaName3);
DDX_Text(pDX, IDC_STATIC_PAR4, m_sParaName4);
DDX_Text(pDX, IDC_STATIC_PAR5, m_sParaName5);
DDX_Text(pDX, IDC_STATIC_PAR6, m_sParaName6);
DDX_Text(pDX, IDC_STATIC_PAR7, m_sParaName7);
DDX_Text(pDX, IDC_STATIC_PAR8, m_sParaName8);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CEditDlg, CDialog)
//{{AFX_MSG_MAP(CEditDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CEditDlg message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -