ModifyDinDan.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. #if !defined(AFX_ModifyDinDan_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_ModifyDinDan_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ModifyDinDan.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // ModifyDinDan form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "EditListCtrl.h"
  14. class ModifyDinDan : public CDialog
  15. {
  16. CArray<CStringArray, CStringArray>m_List1array;
  17. CArray<CStringArray, CStringArray>m_List2array;
  18. CArray<CStringArray, CStringArray>m_List3array;
  19. CArray<CStringArray, CStringArray>m_sparray;
  20. CArray<CStringArray, CStringArray>m_List1Bakarray;
  21. CStringArray m_renyuanarray;
  22. CString m_taoxiid;
  23. CString m_waiter1;
  24. CString m_waiter2;
  25. CString m_waiter3;
  26. CString m_waiter4;
  27. CString m_choosephotomoney;
  28. CString m_takephotomoney;
  29. // Form Data
  30. public:
  31. ModifyDinDan(CWnd* pParent = NULL); // standard constructor
  32. //{{AFX_DATA(ModifyDinDan)
  33. enum { IDD = IDD_DLGModifyDinDan };
  34. CComboBox m_combowaiter7;
  35. CComboBox m_combowaiter5;
  36. CComboBox m_combowaiter4;
  37. CComboBox m_combowaiter3;
  38. CComboBox m_combowaiter2;
  39. CComboBox m_combowaiter1;
  40. CComboBox m_combostatus5;
  41. CComboBox m_combostatus6;
  42. CComboBox m_combostatus4;
  43. CComboBox m_combostatus3;
  44. CComboBox m_combostatus2;
  45. CComboBox m_combostatus1;
  46. CDateEdit m_datectrl5;
  47. CDateEdit m_datectrl4;
  48. CDateEdit m_datectrl2;
  49. CDateEdit m_datectrl1;
  50. CNumEdit m_edit2;
  51. CNumEdit m_edit1;
  52. CComboBox m_combobm;
  53. CComboBox m_comborenyuan;
  54. CEditListCtrl m_List1;
  55. CComboBox m_combotaoxiname;
  56. CString m_taoxijiage;
  57. CString m_zs;
  58. CString m_discount;
  59. CString m_money1;
  60. CString m_money2;
  61. CString m_money3;
  62. CString m_name1;
  63. CString m_name2;
  64. CString m_payed1;
  65. CString m_payed2;
  66. CString m_payed3;
  67. CString m_payed4;
  68. CString m_payed5;
  69. CString m_time1;
  70. CString m_time2;
  71. CString m_time3;
  72. CString m_bz;
  73. CString m_clothescount;
  74. CString m_clothescount2;
  75. CString m_outside;
  76. CString m_outside2;
  77. CString m_style;
  78. CString m_waiter6;
  79. CString m_id;
  80. CString m_time4;
  81. CString m_time5;
  82. //}}AFX_DATA
  83. // Attributes
  84. public:
  85. // Operations
  86. public:
  87. void ClearCtrl();
  88. void SetSPName1();
  89. CString GetSPNameFromId(CString id);
  90. float GetSPPriceFromId(CString id);
  91. void GetData();
  92. void FillGrid();
  93. // Overrides
  94. // ClassWizard generated virtual function overrides
  95. //{{AFX_VIRTUAL(ModifyDinDan)
  96. public:
  97. virtual BOOL PreTranslateMessage(MSG* pMsg);
  98. protected:
  99. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  100. //}}AFX_VIRTUAL
  101. // Implementation
  102. protected:
  103. #ifdef _DEBUG
  104. virtual void AssertValid() const;
  105. virtual void Dump(CDumpContext& dc) const;
  106. #endif
  107. // Generated message map functions
  108. //{{AFX_MSG(ModifyDinDan)
  109. afx_msg void OnBUTsave();
  110. afx_msg void OnBUTclose();
  111. afx_msg void OnSelchangeCOMBOtaoxiname();
  112. afx_msg void OnTimer(UINT nIDEvent);
  113. afx_msg void OnChangeEDITtaoxijiage();
  114. afx_msg void OnChangeEDITdiscount();
  115. afx_msg void OnChangeEDITpayed1();
  116. afx_msg void OnDropdownCOMBObm();
  117. afx_msg void OnDropdownCOMBOrenyuan();
  118. afx_msg void OnSelchangeCOMBObm();
  119. afx_msg void OnBUTclient();
  120. afx_msg void OnBUTWaiter();
  121. afx_msg void OnButton1();
  122. afx_msg void OnBUTprint();
  123. afx_msg void OnBUTstyle();
  124. afx_msg void OnBUTspbox2();
  125. afx_msg void OnBUTdel3();
  126. virtual BOOL OnInitDialog();
  127. //}}AFX_MSG
  128. DECLARE_MESSAGE_MAP()
  129. };
  130. /////////////////////////////////////////////////////////////////////////////
  131. //{{AFX_INSERT_LOCATION}}
  132. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  133. #endif // !defined(AFX_ModifyDinDan_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)