teachctrl.cpp
来自「教学管理系统实现了高校教务、教学和学生三大方面的自动化以及交互式管理」· C++ 代码 · 共 58 行
CPP
58 行
// TeachCtrl.cpp : implementation file
//
#include "stdafx.h"
#include "EduAdministration.h"
#include "TeachCtrl.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTeachCtrl dialog
CTeachCtrl::CTeachCtrl(CWnd* pParent /*=NULL*/)
: CDialog(CTeachCtrl::IDD, pParent)
{
//{{AFX_DATA_INIT(CTeachCtrl)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CTeachCtrl::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CTeachCtrl)
DDX_Control(pDX, IDC_TABTEACH, m_tabTeach);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CTeachCtrl, CDialog)
//{{AFX_MSG_MAP(CTeachCtrl)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTeachCtrl message handlers
BOOL CTeachCtrl::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
m_tabTeach.AddPage("教师信息",&DlgTeaInfo,IDD_TEACHERINFO_DIALOG);
m_tabTeach.AddPage("课程管理",&DlgCourseCtrl,IDD_COURSECTRL_DIALOG);
m_tabTeach.AddPage("考试安排",&DlgExamCtrl,IDD_EXAMCTRL_DIALOG);
m_tabTeach.Show();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?