BeautifySkinFrom2.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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
  6. #ifndef __AFXEXT_H__
  7. #include <afxext.h>
  8. #endif
  9. #include "MyFormView.h"
  10. //
  11. // 精修View;
  12. //
  13. class BeautifySkinFrom2 : public MyFormView // 精修视图窗口;
  14. {
  15. int m_nAdd;
  16. CArray<CStringArray, CStringArray>m_List1array;
  17. protected:
  18. BeautifySkinFrom2(); // protected constructor used by dynamic creation
  19. DECLARE_DYNCREATE(BeautifySkinFrom2)
  20. public:
  21. enum { IDD = IDD_DLGBeautifySkin2 };
  22. CComboBox m_combo1;
  23. CSortListCtrl2 m_FurtherList;
  24. CStatic m_static1;
  25. CString m_filter;
  26. public:
  27. void GetNo(CString str, CStringArray &array);
  28. CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
  29. // Operations
  30. public:
  31. void OnBUTexportphotoAddName();
  32. void GetData();
  33. void HidePrice();
  34. void FillGrid(BOOL bStatus=0);
  35. virtual void OnInitialUpdate();
  36. virtual BOOL PreTranslateMessage(MSG* pMsg);
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. protected:
  40. virtual ~BeautifySkinFrom2();
  41. #ifdef _DEBUG
  42. virtual void AssertValid() const;
  43. virtual void Dump(CDumpContext& dc) const;
  44. #endif
  45. afx_msg void OnBUTclose();
  46. afx_msg void OnButton1();
  47. afx_msg void OnSelchangeCombo1();
  48. afx_msg void OnTimer(UINT nIDEvent);
  49. afx_msg void OnBUTimportphoto();
  50. afx_msg void OnBUTshowphoto();
  51. afx_msg void OnBUTexportphoto(); // 导出选好的片;
  52. afx_msg void OnBUTexportphoto2(); // 导出精修的片;
  53. afx_msg void OnButton2();
  54. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  55. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  56. afx_msg void OnBtnsearchfilter();
  57. afx_msg void OnBUTprint3();
  58. DECLARE_MESSAGE_MAP()
  59. };
  60. #endif