⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lock.h

📁 酒店电子锁管理
💻 H
字号:
// lock.h : main header file for the LOCK application
//

#if !defined(AFX_LOCK_H__44479E1B_A78B_45F5_8166_5B5E25820460__INCLUDED_)
#define AFX_LOCK_H__44479E1B_A78B_45F5_8166_5B5E25820460__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

// The total number of views
#define NUMVIEWS 4

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CLockApp:
// See lock.cpp for the implementation of this class
//

class CLockApp : public CWinApp
{
public:
	CString VariantToCString(const _variant_t &var);
	// Smart point to ADO
	_ConnectionPtr  m_pConnection;
	BOOL ConnectionDB();

	CView * SwitchView( UINT nIndex );
	CLockApp();

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

/************************************************************************/
/* data members for views                                               */
/************************************************************************/
protected:
    // Array of views attached to single document
    CView * m_pViews[NUMVIEWS];
    // Index to current view
    UINT m_nCurView;

// Implementation
	//{{AFX_MSG(CLockApp)
	afx_msg void OnAppAbout();
	afx_msg void OnUserAdd();
	afx_msg void OnUpdateUserAdd(CCmdUI* pCmdUI);
	afx_msg void OnUserRev();
	afx_msg void OnUpdateUserRev(CCmdUI* pCmdUI);
	afx_msg void OnUserDel();
	afx_msg void OnUpdateUserDel(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


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

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

#endif // !defined(AFX_LOCK_H__44479E1B_A78B_45F5_8166_5B5E25820460__INCLUDED_)

⌨️ 快捷键说明

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