logoutdlg.cpp

来自「同学编写的图书馆管理系统(数据库原理大作业)」· C++ 代码 · 共 51 行

CPP
51
字号
// LogOutDlg.cpp : implementation file
//

#include "stdafx.h"
#include "LIBRARY.h"
#include "LogOutDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CLogOutDlg dialog


CLogOutDlg::CLogOutDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CLogOutDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CLogOutDlg)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CLogOutDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CLogOutDlg)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CLogOutDlg, CDialog)
	//{{AFX_MSG_MAP(CLogOutDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CLogOutDlg message handlers

void CLogOutDlg::OnOK() 
{
	// TODO: Add extra validation here
	CLIBRARYApp *App = (CLIBRARYApp *)AfxGetApp();
	App->aID="XXXXXXXXXX";
	CDialog::OnOK();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?