hotelpropertypage1.h

来自「用VC实现的一个简单的旅行预订系统」· C头文件 代码 · 共 101 行

H
101
字号
// HotelPropertyPage1.h : header file
//
#include "TRS.h"
#ifndef __HOTELPROPERTYPAGE1_H__
#define __HOTELPROPERTYPAGE1_H__

/////////////////////////////////////////////////////////////////////////////
// CHotelPropertyPage1 dialog

class CHotelPropertyPage1 : public CPropertyPage
{
	DECLARE_DYNCREATE(CHotelPropertyPage1)

// Construction
public:
	CHotelPropertyPage1();
	~CHotelPropertyPage1();

// Dialog Data
	//{{AFX_DATA(CHotelPropertyPage1)
	enum { IDD = IDD_HOTEL_PROPPAGE1 };
	CListCtrl	m_listHotelAM;
	CString	m_strLoc;
	CString	m_strNumAvail;
	CString	m_strPrice;
	CString	m_strNumRoom;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CHotelPropertyPage1)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void RefreshData();
	// Generated message map functions
	//{{AFX_MSG(CHotelPropertyPage1)
	afx_msg void OnBtnHotela();
	afx_msg void OnBtnHotelM();
	virtual BOOL OnInitDialog();
	afx_msg void OnClickListHotelAm(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};


/////////////////////////////////////////////////////////////////////////////
// CHotelPropertyPage2 dialog

class CHotelPropertyPage2 : public CPropertyPage
{
	DECLARE_DYNCREATE(CHotelPropertyPage2)

// Construction
public:
	CHotelPropertyPage2();
	~CHotelPropertyPage2();

// Dialog Data
	//{{AFX_DATA(CHotelPropertyPage2)
	enum { IDD = IDD_HOTEL_PROPPAGE2 };
	CListCtrl	m_listHotelQR;
	CString	m_strLoc;
	CString	m_strPrice;
	CString	m_strCustName;
	CString	m_strResLoc;
	CString	m_strResNum;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CHotelPropertyPage2)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void RefreshData();
	// Generated message map functions
	//{{AFX_MSG(CHotelPropertyPage2)
	afx_msg void OnBtnHotelRes();
	afx_msg void OnBtnHotelq();
	virtual BOOL OnInitDialog();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};



#endif // __HOTELPROPERTYPAGE1_H__

⌨️ 快捷键说明

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