PosDlg.h
上传用户:sztwq510
上传日期:2013-06-26
资源大小:4045k
文件大小:3k
源码类别:

酒店行业

开发平台:

Java

  1. //{{AFX_INCLUDES()
  2. //}}AFX_INCLUDES
  3. #if !defined(AFX_POSDLG_H__A3C931E5_13ED_445A_AAFB_84A1B2FEE140__INCLUDED_)
  4. #define AFX_POSDLG_H__A3C931E5_13ED_445A_AAFB_84A1B2FEE140__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. // PosDlg.h : header file
  9. //
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPosDlg dialog
  12. #define WM_APPLY WM_USER+1
  13. #define WM_CHECKOUT WM_USER+2
  14. class CPosDlg : public CDialog
  15. {
  16. // Construction
  17. public:
  18. CBitmapButton m_BMButton3;
  19. CString GetCompanyFloor(BOOL bCompany);
  20. BOOL PrintListCtrl(CListCtrl &list);
  21. BOOL bGetBillStatus(CString sbillid);
  22. void ReadBillHead(CString sbillid);
  23. CString SumItemtotal(CString sbillid);
  24. long GetRecordCount(CString sql);
  25. void ReadToFormlist(CString billid);
  26. CString GetMaterielName(long materielid);
  27. long GetRowNo(CString sbillid);
  28. void AddItemToList();
  29. CPosDlg(CWnd* pParent = NULL);   // standard constructor
  30. // Dialog Data
  31. //{{AFX_DATA(CPosDlg)
  32. enum { IDD = IDD_DIALOG_POS };
  33. CEdit m_oActtotal;
  34. CEdit m_oTotal;
  35. CButton m_oButton;
  36. CListCtrl m_oFormlist;
  37. CEdit m_oBegintime;
  38. CEdit m_oEndtime;
  39. CEdit m_oCheck;
  40. CEdit m_oStatus;
  41. CEdit m_oPeasons;
  42. CEdit m_oTableno;
  43. CListBox m_oListbill;
  44. //}}AFX_DATA
  45. // Overrides
  46. // ClassWizard generated virtual function overrides
  47. //{{AFX_VIRTUAL(CPosDlg)
  48. public:
  49. virtual BOOL PreTranslateMessage(MSG* pMsg);
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  52. //}}AFX_VIRTUAL
  53. // Implementation
  54. protected:
  55. // Generated message map functions
  56. //{{AFX_MSG(CPosDlg)
  57. virtual BOOL OnInitDialog();
  58. afx_msg void OnButtonAddf();
  59. afx_msg void OnSelchangeListBill();
  60. afx_msg void OnButtonSelmateriel();
  61. afx_msg void OnDblclkListForm(NMHDR* pNMHDR, LRESULT* pResult);
  62. afx_msg void OnButtonCallf();
  63. afx_msg void OnButtonDelf();
  64. afx_msg void OnButtonHidef();
  65. afx_msg void OnButtonCheckf();
  66. afx_msg void OnKillfocusEditTableno();
  67. afx_msg void OnKillfocusEditPeasons();
  68. afx_msg void OnButtonOff();
  69. afx_msg void OnButtonFindf();
  70. afx_msg void OnButtonLocalp();
  71. DECLARE_EVENTSINK_MAP()
  72. //}}AFX_MSG
  73. afx_msg void OnMyMessage();//Add a message map function OnMyMessage.
  74. afx_msg void OnMyCheckMessage();//Add a message map function OnMyMessage.
  75. DECLARE_MESSAGE_MAP()
  76. private:
  77. CString GenNewBillID();
  78. CString send,spaymode;
  79. };
  80. //{{AFX_INSERT_LOCATION}}
  81. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  82. #endif // !defined(AFX_POSDLG_H__A3C931E5_13ED_445A_AAFB_84A1B2FEE140__INCLUDED_)