📄 hotel_mis.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -