BeautifySkinFrom2.h 2.5 KB

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