📄 readereditdlg.cpp
字号:
// ReadereditDlg.cpp : implementation file
//
#include "stdafx.h"
#include "libmis.h"
#include "ReadereditDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CReadereditDlg dialog
CReadereditDlg::CReadereditDlg(CWnd* pParent /*=NULL*/)
: CDialog(CReadereditDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CReadereditDlg)
m_bValid = FALSE;
m_strId = _T("");
m_strName = _T("");
m_strSex = _T("");
m_strValid = _T("");
//}}AFX_DATA_INIT
}
void CReadereditDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CReadereditDlg)
DDX_Text(pDX, IDC_EDIT1, m_strId);
DDX_Text(pDX, IDC_EDIT2, m_strName);
DDX_CBString(pDX, IDC_COMBO1, m_strSex);
DDX_CBString(pDX, IDC_COMBO2, m_strValid);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CReadereditDlg, CDialog)
//{{AFX_MSG_MAP(CReadereditDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CReadereditDlg message handlers
void CReadereditDlg::OnOK()
{
// TODO: Add extra validation here
m_strId.TrimLeft ();
m_strId.TrimRight ();
m_strName.TrimLeft ();
m_strName.TrimRight ();
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -