RoomInfoLookup.h
上传用户:sunh8215
上传日期:2010-02-13
资源大小:1616k
文件大小:2k
- #if !defined(AFX_ROOMINFOLOOKUP_H__4C78B7F5_D972_4FC2_85A3_ECF7999FF940__INCLUDED_)
- #define AFX_ROOMINFOLOOKUP_H__4C78B7F5_D972_4FC2_85A3_ECF7999FF940__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // RoomInfoLookup.h : header file
- //
- #include"infoset.h"
- #include ".\autocomplete\AutoCompl.h"//包含自动完成功能的头文件
- /////////////////////////////////////////////////////////////////////////////
- // CRoomInfoLookup dialog
- class CRoomInfoSet;
- class CRoomInfoLookup : public CDialog
- {
- // Construction
- public:
- void InitDate();
- CRoomInfoLookup(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CRoomInfoLookup)
- enum { IDD = IDD_ROOMINFO_LOOKUP };
- CComboBox m_InfoLookup_RoomCode;
- //}}AFX_DATA
- CRoomInfoSet m_RoomInfoSet;
- CString RoomCode;
- CString RoomType;
- int Floor;
- CString Phone;
- CString RoomStatus;
- BOOL PriceType;
- float Price;
- bool bSuccess;//操作是否成功
- CAutoComplete m_acCombo; // hook for combo box
- static CString STRINGS[100];//
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CRoomInfoLookup)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CRoomInfoLookup)
- virtual BOOL OnInitDialog();
- virtual void OnOK();
- 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_ROOMINFOLOOKUP_H__4C78B7F5_D972_4FC2_85A3_ECF7999FF940__INCLUDED_)