📄 manageroutdlg.cpp
字号:
// ManagerOutDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Library_5.h"
#include "ManagerOutDlg.h"
#include "Global.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CManagerOutDlg dialog
CManagerOutDlg::CManagerOutDlg(CWnd* pParent /*=NULL*/)
: CDialog(CManagerOutDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CManagerOutDlg)
//}}AFX_DATA_INIT
}
void CManagerOutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CManagerOutDlg)
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CManagerOutDlg, CDialog)
//{{AFX_MSG_MAP(CManagerOutDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CManagerOutDlg message handlers
void CManagerOutDlg::OnOK()
{
CLibrary_5App *App = (CLibrary_5App *)AfxGetApp();
CString managerNum=App->managerID;
if(managerNum=="无管理员登录")
{
AfxMessageBox("无管理员在线!");
}
else
{
App->managerID="无管理员登录";
AfxMessageBox("管理员已退出!");
}
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -