hotel_mis.h

来自「客房管理系统 包括课程设计的文档,详细的功能说明和设计思路,需求分析等」· C头文件 代码 · 共 61 行

H
61
字号
// Hotel_MIS.h : main header file for the HOTEL_MIS application
//

#if !defined(AFX_HOTEL_MIS_H__03DC61C5_D4DB_4FED_BA1D_F130F7315C84__INCLUDED_)
#define AFX_HOTEL_MIS_H__03DC61C5_D4DB_4FED_BA1D_F130F7315C84__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols
#include "MainFrm.h"
#include "LoginDLG.h"

/////////////////////////////////////////////////////////////////////////////
// CHotel_MISApp:
// See Hotel_MIS.cpp for the implementation of this class
//

class CHotel_MISApp : public CWinApp
{
public:
	CString m_sCurrentUser;
	int m_iLoginCount;
	_RecordsetPtr m_pADOSet;
	bool ADOExecute(_RecordsetPtr &ADOSet, _variant_t &strSQL);
	CHotel_MISApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHotel_MISApp)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CHotel_MISApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	// Define ADO Database Connnection
	_ConnectionPtr ADOConn;
};

extern CHotel_MISApp theApp;

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HOTEL_MIS_H__03DC61C5_D4DB_4FED_BA1D_F130F7315C84__INCLUDED_)

⌨️ 快捷键说明

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