www.gusucode.com > 大学排课系统,VC++实现,能实现根据教师及课程资源自动排 > 大学排课系统,VC++实现,能实现根据教师及课程资源自动排课/ARRANGE/EditDlg.cpp
// EditDlg.cpp : implementation file // #include "stdafx.h" #include "arrange.h" #include "EditDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CEditDlg dialog CEditDlg::CEditDlg(CWnd* pParent /*=NULL*/) : CDialog(CEditDlg::IDD, pParent) { //{{AFX_DATA_INIT(CEditDlg) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void CEditDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CEditDlg) DDX_Control(pDX, IDC_TAB1, m_tab); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CEditDlg, CDialog) //{{AFX_MSG_MAP(CEditDlg) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CEditDlg message handlers BOOL CEditDlg::OnInitDialog() { CDialog::OnInitDialog(); // TODO: Add extra initialization here m_tab.AddPage("教室管理", &m_room, IDD_DIALOG_ROOMINFO); m_tab.AddPage("教师管理", &m_teacher, IDD_DIALOG_TEACHERINFO); m_tab.AddPage("教学班号", &m_classno, IDD_DIALOG_CLASSESNO); m_tab.AddPage("教学计划", &m_teachplan, IDD_DIALOG_TEACHPLAN); m_tab.Show(); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }