📄 dlgguanliyuan.cpp
字号:
// DlgGuanliyuan.cpp : implementation file
//
#include "stdafx.h"
#include "Train.h"
#include "DlgGuanliyuan.h"
#include "DlgYonghuguanli.h"
#include "DlgAdduser.h"
#include "DlgDeluser.h"
#include "DlgUpdateuser.h"
#include "DlgCheciguanli.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgGuanliyuan dialog
CDlgGuanliyuan::CDlgGuanliyuan(CWnd* pParent /*=NULL*/)
: CDialog(CDlgGuanliyuan::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgGuanliyuan)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CDlgGuanliyuan::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgGuanliyuan)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgGuanliyuan, CDialog)
//{{AFX_MSG_MAP(CDlgGuanliyuan)
ON_BN_CLICKED(IDC_GUANLIYUAN_CANCEL, OnGuanliyuanCancel)
ON_BN_CLICKED(IDC_YONGHUGUANLI, OnYonghuguanli)
ON_COMMAND(IDD_ADD_USER, OnAddUser)
ON_COMMAND(IDD_DEL_USER, OnDelUser)
ON_COMMAND(IDD_UPDATE_USER, OnUpdateUser)
ON_BN_CLICKED(IDC_CHECIGUANLI, OnCheciguanli)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgGuanliyuan message handlers
void CDlgGuanliyuan::OnGuanliyuanCancel()
{
// TODO: Add your control notification handler code here
CDialog::OnCancel();
}
void CDlgGuanliyuan::OnYonghuguanli()
{
// TODO: Add your control notification handler code here
CDlgYonghuguanli dlg;
dlg.DoModal();
}
void CDlgGuanliyuan::OnAddUser()
{
// TODO: Add your command handler code here
CDlgAdduser adduser;
adduser.DoModal();
}
void CDlgGuanliyuan::OnDelUser()
{
// TODO: Add your command handler code here
CDlgDeluser deluser;
deluser.DoModal();
}
void CDlgGuanliyuan::OnUpdateUser()
{
// TODO: Add your command handler code here
CDlgUpdateuser updateuser;
updateuser.DoModal();
}
void CDlgGuanliyuan::OnCheciguanli()
{
// TODO: Add your control notification handler code here
CDlgCheciguanli checiguanli;
checiguanli.DoModal();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -