CheckOut.h
上传用户:sunh8215
上传日期:2010-02-13
资源大小:1616k
文件大小:2k
- #if !defined(AFX_CHECKOUT_H__77C97BE9_80F9_4A8B_B219_BFBFA3D384A7__INCLUDED_)
- #define AFX_CHECKOUT_H__77C97BE9_80F9_4A8B_B219_BFBFA3D384A7__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // CheckOut.h : header file
- //
- #include "InfoSet.h"
- #include ".\autocomplete\AutoCompl.h"//包含自动完成功能的头文件
- /////////////////////////////////////////////////////////////////////////////
- // CCheckOut dialog
- class CCheckOut : public CDialog
- {
- // Construction
- public:
- CCheckOut(CWnd* pParent = NULL); // standard constructor
- void InitDate();
- // Dialog Data
- //{{AFX_DATA(CCheckOut)
- enum { IDD = IDD_CHECKOUT };
- CEdit BillCode;
- CComboBox HandCode;
- CEdit CurTime;
- CEdit Times;
- CEdit Sum;
- CEdit SubMoney;
- CEdit StartTime;
- CEdit Paid;
- //}}AFX_DATA
- CBillCheckoutInfoSet m_BillCheckoutInfoSet;//结帐帐单表
- CBillInfoSet m_BillInfoSet; //帐单表
- CGuestInfoSet m_GuestInfoSet;//客人信息表
- CRoomInfoSet m_RoomInfoSet; //房间信息表
- static int year;//当前的年份
- static int month;//当前的月份
- static int day;
- static int hour;
- static int minute;
- static int second;
- CAutoComplete m_acCombo; // hook for combo box
- static CString STRINGS[100];//
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCheckOut)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CCheckOut)
- virtual BOOL OnInitDialog();
- afx_msg void OnEditchangeCheckoutHandcode();
- afx_msg void OnChangeCheckoutPaid();
- virtual void OnOK();
- afx_msg void OnSelchangeCheckoutHandcode();
- 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_CHECKOUT_H__77C97BE9_80F9_4A8B_B219_BFBFA3D384A7__INCLUDED_)