📄 bookdlg.h
字号:
#if !defined(AFX_BOOKDLG_H__CA353D95_C598_41AF_B738_AB37CB15B2B7__INCLUDED_)
#define AFX_BOOKDLG_H__CA353D95_C598_41AF_B738_AB37CB15B2B7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BookDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// BookDlg dialog
class BookDlg : public CDialog
{
// Construction
public:
BookDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(BookDlg)
enum { IDD = IDD_BOOKROOM };
CEdit m_bookdate;
CEdit m_clientname;
CEdit m_roomnumber;
CEdit m_serial;
CComboBox m_combox;
CListBox m_listOut;
CListBox m_listIn;
CStatic m_roomtype;
CStatic m_bookid;
int m_bookdays;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(BookDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
private:
CString roomType; //房间类型
int totalCash; //支付现金额
CString serial; //流水号
CString roomNum[100]; //房间号
int roomPrice ; //房间定金
int roomtotal; //房间数
COleDateTime bookDate; //订房日期
int bookDay; //订房天数
// Implementation
public:
void clear(); //清空对话框
protected:
// Generated message map functions
//{{AFX_MSG(BookDlg)
afx_msg void OnButtonin();
afx_msg void OnInquire();
afx_msg void OnButtonout();
afx_msg void OnBookroom();
afx_msg void OnCancelbook();
afx_msg void OnDefrayearnest();
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_BOOKDLG_H__CA353D95_C598_41AF_B738_AB37CB15B2B7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -