📄 stuctrl.cpp
字号:
// stuCtrl.cpp : implementation file
//
#include "stdafx.h"
#include "EduAdministration.h"
#include "stuCtrl.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CstuCtrl dialog
CstuCtrl::CstuCtrl(CWnd* pParent /*=NULL*/)
: CDialog(CstuCtrl::IDD, pParent)
{
//{{AFX_DATA_INIT(CstuCtrl)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CstuCtrl::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CstuCtrl)
DDX_Control(pDX, IDC_TABSTUCTRL, m_tabStuCtrl);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CstuCtrl, CDialog)
//{{AFX_MSG_MAP(CstuCtrl)
ON_NOTIFY(TCN_SELCHANGE, IDC_TABSTUCTRL, OnSelchangeTabstuctrl)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CstuCtrl message handlers
BOOL CstuCtrl::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
m_tabStuCtrl.AddPage("学生基本信息",&DlgStuInfo,IDD_STUINFO_DIALOG);
m_tabStuCtrl.AddPage("转入转出",&DlgStuTranIn,IDD_STUTRANIN_DIALOG);
m_tabStuCtrl.AddPage("转专业",&DlgStuTran,IDD_STUTRAN_DIALOG);
m_tabStuCtrl.AddPage("毕业与退学",&DlgGraduate,IDD_GRADUATE_DIALOG);
m_tabStuCtrl.AddPage("记录查询",&DlgLogView,IDD_LOGVIEW_DIALOG);
m_tabStuCtrl.Show();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CstuCtrl::OnSelchangeTabstuctrl(NMHDR* pNMHDR, LRESULT* pResult)
{
// TODO: Add your control notification handler code here
*pResult = 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -