ChooseRoom.h
上传用户:sunh8215
上传日期:2010-02-13
资源大小:1616k
文件大小:2k
- #if !defined(AFX_CHOOSEROOM_H__888CAA50_537E_4F1E_9267_C9F3397BCF99__INCLUDED_)
- #define AFX_CHOOSEROOM_H__888CAA50_537E_4F1E_9267_C9F3397BCF99__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ChooseRoom.h : header file
- //
- #include "InfoSet.h"
- /////////////////////////////////////////////////////////////////////////////
- // CChooseRoom dialog
- class CRoomInfoSet;
- class CChooseRoom : public CDialog
- {
- // Construction
- public:
- CChooseRoom(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CChooseRoom)
- enum { IDD = IDD_CHOOSEROOM };
- CEdit HandCode;
- CEdit BillCode;
- CEdit RoomSelNum;
- CEdit RoomSum;
- CListBox RoomBillList;
- CListBox RoomCodeList;
- CEdit RoomPrice;
- CComboBox RoomType;
- //}}AFX_DATA
- public:
- CRoomInfoSet m_RoomInfoSet;//数据库对象
- CGuestInfoSet m_GuestInfoSet;//客户数据库对象
- CBillCheckoutInfoSet m_BillCheckoutInfoSet;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CChooseRoom)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CChooseRoom)
- virtual BOOL OnInitDialog();
- afx_msg void OnSelchangeRoomtype();
- afx_msg void OnAdd();
- virtual void OnOK();
- afx_msg void OnDelete();
- virtual void OnCancel();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CHOOSEROOM_H__888CAA50_537E_4F1E_9267_C9F3397BCF99__INCLUDED_)