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

📄 rmsview.h

📁 一份C++课程设计的客房管理系统
💻 H
字号:
// RmsView.h : interface of the CRmsView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_RMSVIEW_H__95682343_3998_4D2E_A389_5C9EB5586DBE__INCLUDED_)
#define AFX_RMSVIEW_H__95682343_3998_4D2E_A389_5C9EB5586DBE__INCLUDED_

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

class CRmsSet;

class CRmsView : public CRecordView
{
protected: // create from serialization only
	CRmsView();
	DECLARE_DYNCREATE(CRmsView)

public:
	//{{AFX_DATA(CRmsView)
	enum { IDD = IDD_RMS_FORM };
	CRmsSet* m_pSet;
	//}}AFX_DATA

// Attributes
public:
	CRmsDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRmsView)
	public:
	virtual CRecordset* OnGetRecordset();
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CRmsView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CRmsView)
	afx_msg void OnButtonaddnew();
	afx_msg void OnButtondelete();
	afx_msg void OnButtonupdate();
	afx_msg void OnButtonfirst();
	afx_msg void OnButtonnext();
	afx_msg void OnButtonprev();
	afx_msg void OnButtonquery();
	afx_msg void OnButtontuifang();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnTimer(UINT_PTR nIDEvent);
public:
	CBrush* brush;
public:
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
public:
	afx_msg void OnBnClickedButton1();
};

#ifndef _DEBUG  // debug version in RmsView.cpp
inline CRmsDoc* CRmsView::GetDocument()
   { return (CRmsDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_RMSVIEW_H__95682343_3998_4D2E_A389_5C9EB5586DBE__INCLUDED_)

⌨️ 快捷键说明

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