📄 studentinfodlg.cpp
字号:
// StudentInfoDlg.cpp : implementation file
//
#include "stdafx.h"
#include "SSF.h"
#include "StudentInfoDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStudentInfoDlg dialog
CStudentInfoDlg::CStudentInfoDlg(CWnd* pParent /*=NULL*/)
: CDialog(CStudentInfoDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CStudentInfoDlg)
m_strAddress = _T("");
m_strBirth = 0;
m_strClass = _T("");
m_strCode = _T("");
m_strDepartment = _T("");
m_strSys = _T("");
m_strFolk = _T("");
m_strIDcard = _T("");
m_strMajor = _T("");
m_strName = _T("");
m_strNative = _T("");
m_strPhone = _T("");
m_strPolitic = _T("");
m_strRolltime = 0;
m_strSex = _T("");
//}}AFX_DATA_INIT
}
void CStudentInfoDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CStudentInfoDlg)
DDX_Text(pDX, IDC_address, m_strAddress);
DDX_DateTimeCtrl(pDX, IDC_brithtime, m_strBirth);
DDX_CBString(pDX, IDC_class, m_strClass);
DDX_Text(pDX, IDC_code, m_strCode);
DDX_CBString(pDX, IDC_department, m_strDepartment);
DDX_CBString(pDX, IDC_COMBO4, m_strSys);
DDX_Text(pDX, IDC_folk, m_strFolk);
DDX_Text(pDX, IDC_IDcard, m_strIDcard);
DDX_CBString(pDX, IDC_major, m_strMajor);
DDX_Text(pDX, IDC_name, m_strName);
DDX_Text(pDX, IDC_native, m_strNative);
DDX_Text(pDX, IDC_phone, m_strPhone);
DDX_Text(pDX, IDC_politic, m_strPolitic);
DDX_DateTimeCtrl(pDX, IDC_rolltime, m_strRolltime);
DDX_Text(pDX, IDC_sex, m_strSex);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CStudentInfoDlg, CDialog)
//{{AFX_MSG_MAP(CStudentInfoDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CStudentInfoDlg message handlers
void CStudentInfoDlg::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -