TakeFrom.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #if !defined(AFX_TakeFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_TakeFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // TakeFrom.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // TakeFrom form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. // 门市流程 - 拍照视窗;
  14. class TakeFrom : public MyFormView
  15. {
  16. int m_nAdd;
  17. CArray<CStringArray, CStringArray>m_List1array; // case 25,视图takeview的数据;
  18. CArray<CStringArray, CStringArray>m_List1arrayBak;
  19. protected:
  20. TakeFrom(); // protected constructor used by dynamic creation
  21. DECLARE_DYNCREATE(TakeFrom)
  22. // Form Data
  23. public:
  24. //{{AFX_DATA(TakeFrom)
  25. enum { IDD = IDD_DLGTakeFrom };
  26. CComboBox m_combo1;
  27. CSortListCtrl2 m_List1;
  28. CStatic m_static1;
  29. CString m_filter;
  30. //}}AFX_DATA
  31. // Attributes
  32. public:
  33. // Operations
  34. public:
  35. void GetData();
  36. void HidePrice();
  37. void FillGrid(BOOL bStatus=0);
  38. // Overrides
  39. // ClassWizard generated virtual function overrides
  40. //{{AFX_VIRTUAL(TakeFrom)
  41. public:
  42. virtual void OnInitialUpdate();
  43. virtual BOOL PreTranslateMessage(MSG* pMsg);
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. virtual ~TakeFrom();
  50. #ifdef _DEBUG
  51. virtual void AssertValid() const;
  52. virtual void Dump(CDumpContext& dc) const;
  53. #endif
  54. // Generated message map functions
  55. //{{AFX_MSG(TakeFrom)
  56. afx_msg void OnBUTclose();
  57. afx_msg void OnButton1(); // 查询按钮;
  58. afx_msg void OnSelchangeCombo1();
  59. afx_msg void OnTimer(UINT nIDEvent);
  60. afx_msg void OnBUTimportphoto(); // 导入原片按钮;
  61. afx_msg void OnBUTshowphoto(); // 查看原片按钮;
  62. afx_msg void OnBUTmoney(); // 今拍按钮;
  63. afx_msg void OnBTNaddsp();
  64. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  65. afx_msg void OnButton2(); // 客人头像按钮;
  66. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  67. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  68. afx_msg void OnBtnsearchfilter();
  69. afx_msg void OnBUTprint3();
  70. //}}AFX_MSG
  71. DECLARE_MESSAGE_MAP()
  72. public:
  73. afx_msg void OnBnClickedMicroshare();
  74. afx_msg LRESULT OnKernelCallBack(WPARAM wp,LPARAM lp);
  75. public:
  76. // 获取选中列表项的订单信息;
  77. INT GetSelectedOrderInfo( OUT STOrederInfo &OrederInfo, OUT INT& nFirstItem, OUT INT& nEndofItem );
  78. };
  79. /////////////////////////////////////////////////////////////////////////////
  80. //{{AFX_INSERT_LOCATION}}
  81. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  82. #endif // !defined(AFX_TakeFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)