?? hotel_misview.h
字號:
// Hotel_MISView.h : interface of the CHotel_MISView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_HOTEL_MISVIEW_H__23BBF806_5A80_4F01_BDC6_2EC3835077CA__INCLUDED_)
#define AFX_HOTEL_MISVIEW_H__23BBF806_5A80_4F01_BDC6_2EC3835077CA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Hotel_MISDoc.h"
class CHotel_MISView : public CView
{
protected: // create from serialization only
CHotel_MISView();
DECLARE_DYNCREATE(CHotel_MISView)
// Attributes
public:
CHotel_MISDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHotel_MISView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
//}}AFX_VIRTUAL
// Implementation
public:
void RefreshCheckOut(_variant_t strQuery);
void CreateBookIn(_variant_t strQuery);
void RefreshBookIn(_variant_t strQuery);
void RefreshRoom(_variant_t strQuery);
void RefreshRoomType();
CString m_sCurrentList;
void UnLoadListCtrl();
void LoadListCtrl();
virtual ~CHotel_MISView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CHotel_MISView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg void OnAddRoomType();
afx_msg void OnAlterRoomType();
afx_msg void OnDelRoomType();
afx_msg void OnAddRoom();
afx_msg void OnAlterRoom();
afx_msg void OnDelRoom();
afx_msg void OnCheckRoom();
afx_msg void OnCheckRemain();
afx_msg void OnAddBookIn();
afx_msg void OnAlterBookIn();
afx_msg void OnSearchBookIn();
afx_msg void OnAddCheckOut();
afx_msg void OnAlterCheckOut();
afx_msg void OnSearchCheckOut();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void CreateRoom(_variant_t strQuery);
void CreateRoomType();
CListCtrl m_ListCtrl;
CStatic m_StaticCtrl;
};
#ifndef _DEBUG // debug version in Hotel_MISView.cpp
inline CHotel_MISDoc* CHotel_MISView::GetDocument()
{ return (CHotel_MISDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HOTEL_MISVIEW_H__23BBF806_5A80_4F01_BDC6_2EC3835077CA__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -