DesignFrom.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. #if !defined(AFX_DesignFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_DesignFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DesignFrom.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // DesignFrom form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. // ÃÅÊÐÁ÷³Ì-Éè¼ÆView;
  14. class DesignFrom : public MyFormView
  15. {
  16. int m_nAdd;
  17. CArray<CStringArray, CStringArray>m_List1array;
  18. CArray<CStringArray, CStringArray>m_List1arraybak;
  19. protected:
  20. DesignFrom(); // protected constructor used by dynamic creation
  21. DECLARE_DYNCREATE(DesignFrom)
  22. // Form Data
  23. public:
  24. enum { IDD = IDD_DLGDesignFrom };
  25. CComboBox m_combo1;
  26. CSortListCtrl2 m_List1;
  27. CStatic m_static1;
  28. CString m_filter;
  29. //}}AFX_DATA
  30. // Attributes
  31. public:
  32. // Operations
  33. public:
  34. void GetData();
  35. void HidePrice();
  36. CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
  37. CString GetSelName2(CString name, CArray<CStringArray, CStringArray>&spnamearray);
  38. int FindArray(CStringArray *pArray, CString Str);
  39. void GetSavePath(CString &path);
  40. void GetNo(CString str, CStringArray &array);
  41. void FillGrid(BOOL bStatus=0);
  42. // Overrides
  43. // ClassWizard generated virtual function overrides
  44. //{{AFX_VIRTUAL(DesignFrom)
  45. public:
  46. virtual void OnInitialUpdate();
  47. virtual BOOL PreTranslateMessage(MSG* pMsg);
  48. protected:
  49. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  50. //}}AFX_VIRTUAL
  51. // Implementation
  52. protected:
  53. virtual ~DesignFrom();
  54. #ifdef _DEBUG
  55. virtual void AssertValid() const;
  56. virtual void Dump(CDumpContext& dc) const;
  57. #endif
  58. // Generated message map functions
  59. //{{AFX_MSG(DesignFrom)
  60. afx_msg void OnBUTclose();
  61. afx_msg void OnButton1();
  62. afx_msg void OnSelchangeCombo1();
  63. afx_msg void OnTimer(UINT nIDEvent);
  64. afx_msg void OnBUTshowphoto();
  65. afx_msg void OnBUTexportphoto();
  66. afx_msg void OnBUTimportphoto();
  67. afx_msg void OnButton2();
  68. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  69. afx_msg void OnBUTimportphoto2();
  70. afx_msg void OnBUTimportphoto3();
  71. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  72. afx_msg void OnButton3();
  73. afx_msg void OnBtnsearchfilter();
  74. afx_msg void OnBUTprint3();
  75. //}}AFX_MSG
  76. DECLARE_MESSAGE_MAP()
  77. };
  78. /////////////////////////////////////////////////////////////////////////////
  79. //{{AFX_INSERT_LOCATION}}
  80. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  81. #endif // !defined(AFX_DesignFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)