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

📄 reserveroom.h

📁 酒店管理系统的毕业设计,用VC编的,功能有限
💻 H
字号:
#if !defined(AFX_RESERVEROOM_H__BCFFDBC8_205C_45BE_AFC3_51A6FC83044D__INCLUDED_)
#define AFX_RESERVEROOM_H__BCFFDBC8_205C_45BE_AFC3_51A6FC83044D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ReserveRoom.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// ReserveRoom dialog
#include "resource.h" 

class ReserveRoom : public CDialog
{
// Construction
public:
	ReserveRoom(CWnd* pParent = NULL);   // standard constructor
    void init(C_Connection* m_Connection);
// Dialog Data
	//{{AFX_DATA(ReserveRoom)
	enum { IDD = IDD_reserveroom };
	CEdit	m_roomNum;
	CEdit	m_ClientName;
	CEdit	m_serial;
	CEdit	m_resideDate;
	CStatic	m_roomType;
	CButton	m_buttonOut;
	CButton	m_buttonIn;
	CListBox	m_listOut;
	CListBox	m_listIn;
	CListCtrl	m_list2;
	CListCtrl	m_list1;
	CComboBox	m_combox1;
	int		m_resideDays;
	//}}AFX_DATA
private:
	C_Connection* _Connection;             //数据库连接类
    CString       roomType;                //房间类型
	int           totalCash;               //支付现金额
    CString       serial;                  //流水号   
	CString       roomNum[100];            //房间号
	int           roomPrice    ;           //房间单价
	int           roomtotal;               //房间数
    COleDateTime  resideDate;              //住房日期
	int           resideDay;               //住房天数
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(ReserveRoom)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
public:
   void clear();                           //清空对话框
// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(ReserveRoom)
	afx_msg void OnReserveRoom();
	afx_msg void OnButtonIn();
	afx_msg void OnSelchangeList1();
	afx_msg void OnSelchangeList2();
	afx_msg void OnButtonOut();
	afx_msg void OnQuery();
	afx_msg void OnCancelReside();
	afx_msg void OnCash();
	afx_msg void OnnewClient();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_RESERVEROOM_H__BCFFDBC8_205C_45BE_AFC3_51A6FC83044D__INCLUDED_)

⌨️ 快捷键说明

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