FinanceForm.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #if !defined(AFX_FinanceForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_FinanceForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif
  6. #ifndef __AFXEXT_H__
  7. #include <afxext.h>
  8. #endif
  9. #include "MyFormView.h"
  10. // 订单收款view视窗;
  11. class FinanceForm : public MyFormView
  12. {
  13. CFont g_listctrlfont;
  14. CArray<CStringArray, CStringArray>m_List1array;
  15. protected:
  16. FinanceForm(); // protected constructor used by dynamic creation
  17. DECLARE_DYNCREATE(FinanceForm)
  18. public:
  19. enum { IDD = IDD_DLGFinanceFrom };
  20. CComboBox m_combo1;
  21. CSortListCtrl3 m_List1;
  22. CStatic m_static1;
  23. CString m_filter;
  24. public:
  25. void GetData();
  26. void FillGrid();
  27. // 隐藏顾客联系电话;
  28. void HideCustomerPhone();
  29. virtual void OnInitialUpdate();
  30. virtual BOOL PreTranslateMessage(MSG* pMsg);
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. protected:
  34. virtual ~FinanceForm();
  35. #ifdef _DEBUG
  36. virtual void AssertValid() const;
  37. virtual void Dump(CDumpContext& dc) const;
  38. #endif
  39. afx_msg void OnBUTclose();
  40. afx_msg void OnButton1();
  41. afx_msg void OnSelchangeCombo1();
  42. afx_msg void OnTimer(UINT nIDEvent);
  43. afx_msg void OnBUTprint();
  44. afx_msg void OnBUTmoney();
  45. afx_msg void OnBUTMoney2();
  46. afx_msg void OnBUTmoney3();
  47. afx_msg void OnBUTmoney4();
  48. afx_msg void OnBTNaddsp();
  49. afx_msg void OnBTNaddsp2();
  50. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  51. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  52. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  53. DECLARE_MESSAGE_MAP()
  54. };
  55. #endif