Client2Form.h 2.5 KB

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