?? studentinputdlg.cpp
字號:
// StudentInputDlg.cpp : implementation file
//
#include "stdafx.h"
#include "CEDBUse.h"
#include "StudentInputDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStudentInputDlg dialog
CStudentInputDlg::CStudentInputDlg(CWnd* pParent /*=NULL*/)
: CDialog(CStudentInputDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CStudentInputDlg)
m_birthday = 0;
m_stature = 0;
m_name = _T("");
m_no = _T("");
//}}AFX_DATA_INIT
}
void CStudentInputDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CStudentInputDlg)
DDX_DateTimeCtrl(pDX, IDC_DT_BIRTHDAY, m_birthday);
DDX_Text(pDX, IDC_DT_STATURE, m_stature);
DDX_Text(pDX, IDC_EDT_NAME, m_name);
DDX_Text(pDX, IDC_EDT_NO, m_no);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CStudentInputDlg, CDialog)
//{{AFX_MSG_MAP(CStudentInputDlg)
ON_BN_CLICKED(IDC_BTN_OK, OnBtnOk)
ON_BN_CLICKED(IDC_BTN_CANCEL, OnBtnCancel)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CStudentInputDlg message handlers
void CStudentInputDlg::OnBtnOk()
{
// TODO: Add your control notification handler code here
this->OnOK();
}
void CStudentInputDlg::OnBtnCancel()
{
// TODO: Add your control notification handler code here
OnCancel();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -