📄 manage_window.cpp
字号:
// Manage_window.cpp : implementation file
//
#include "stdafx.h"
#include "Library.h"
#include "Manage_window.h"
#include "Book_manage.h"
#include "Student_manage.h"
#include "Student_borrow.h"
#include "Student_sent.h"
#include "Book_search.h"
#include "pswchange.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Manage_window dialog
Manage_window::Manage_window(CWnd* pParent /*=NULL*/)
: CDialog(Manage_window::IDD, pParent)
{
//{{AFX_DATA_INIT(Manage_window)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void Manage_window::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(Manage_window)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(Manage_window, CDialog)
//{{AFX_MSG_MAP(Manage_window)
ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
ON_BN_CLICKED(IDC_BUTTON3, OnButton3)
ON_BN_CLICKED(IDC_BUTTON5, OnButton5)
ON_BN_CLICKED(IDC_BUTTON4, OnButton4)
ON_BN_CLICKED(IDC_BUTTON7, OnButton7)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Manage_window message handlers
void Manage_window::OnButton1()
{
// TODO: Add your control notification handler code here
Book_manage Dlg1;
Dlg1.DoModal();
}
void Manage_window::OnButton2()
{
// TODO: Add your control notification handler code here
Student_manage Dlg2;
Dlg2.DoModal();
}
void Manage_window::OnButton3()
{
// TODO: Add your control notification handler code here
Student_borrow Dlg3;
Dlg3.DoModal();
}
void Manage_window::OnButton5()
{
// TODO: Add your control notification handler code here
Student_sent Dlg4;
Dlg4.DoModal();
}
void Manage_window::OnButton4()
{
// TODO: Add your control notification handler code here
Book_search Dlg5;
Dlg5.DoModal();
}
void Manage_window::OnCancel()
{
// TODO: Add extra cleanup here
CDialog::OnCancel();
}
void Manage_window::OnButton7()
{
// TODO: Add your control notification handler code here
pswchange Dlg6;
Dlg6.DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -