ClientMoney.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #if !defined(AFX_ClientMoney_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_ClientMoney_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ClientMoney.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // ClientMoney form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. //---------------------------------------------------
  14. // Jeff 2014.10.27
  15. // 客人付款对话框;
  16. // 该对话框内的OnBUTexportphoto函数与OnBUTimportphoto函数无用!
  17. //---------------------------------------------------
  18. class ClientMoney : public MyFormView
  19. {
  20. CArray<CStringArray, CStringArray>m_List1array;
  21. protected:
  22. ClientMoney(); // protected constructor used by dynamic creation
  23. DECLARE_DYNCREATE(ClientMoney)
  24. // Form Data
  25. public:
  26. //{{AFX_DATA(ClientMoney)
  27. enum { IDD = IDD_DLGClientMoney };
  28. CComboBox m_combo1;
  29. CSortListCtrl3 m_List1;
  30. CStatic m_static1;
  31. CString m_filter;
  32. BOOL m_check1;
  33. BOOL m_check2;
  34. //}}AFX_DATA
  35. // Attributes
  36. public:
  37. // Operations
  38. public:
  39. void HidePrice();
  40. CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
  41. int FindArray(CStringArray *pArray, CString Str);
  42. void GetSavePath(CString &path);
  43. void GetNo(CString str, CStringArray &array);
  44. void FillGrid(BOOL bStatus=0);
  45. // Overrides
  46. // ClassWizard generated virtual function overrides
  47. //{{AFX_VIRTUAL(ClientMoney)
  48. public:
  49. virtual void OnInitialUpdate();
  50. virtual BOOL PreTranslateMessage(MSG* pMsg);
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. virtual ~ClientMoney();
  57. #ifdef _DEBUG
  58. virtual void AssertValid() const;
  59. virtual void Dump(CDumpContext& dc) const;
  60. #endif
  61. // Generated message map functions
  62. //{{AFX_MSG(ClientMoney)
  63. afx_msg void OnBUTclose();
  64. afx_msg void OnButton1();
  65. afx_msg void OnSelchangeCombo1();
  66. afx_msg void OnTimer(UINT nIDEvent);
  67. afx_msg void OnBUTshowphoto();
  68. afx_msg void OnButton2();
  69. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  70. afx_msg void OnBUTClientMoney();
  71. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  72. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  73. afx_msg void OnBUTburncd2();
  74. afx_msg void OnCheck1();
  75. afx_msg void OnCheck2();
  76. //}}AFX_MSG
  77. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  78. DECLARE_MESSAGE_MAP()
  79. };
  80. /////////////////////////////////////////////////////////////////////////////
  81. //{{AFX_INSERT_LOCATION}}
  82. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  83. #endif // !defined(AFX_ClientMoney_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)