#if !defined(AFX_Client2Form_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
#define AFX_Client2Form_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Client2Form.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// Client2Form form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class Client2Form : public MyFormView
{
	CArray<CStringArray, CStringArray>m_List1arrayBak;
	CArray<CStringArray, CStringArray>m_List1array;
protected:
	Client2Form();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(Client2Form)

	// Form Data
public:
	//{{AFX_DATA(Client2Form)
	enum { IDD = IDD_DLGClient2Form };
	CComboBox	m_combo1;
	CSortListCtrl2	m_List1;
	CStatic	m_static1;
	CString	m_filter;
	//}}AFX_DATA

	// Attributes
public:

	// Operations
public:
	BOOL CheckExist(CString m_name1, CString m_phone1);
	void GetData();
	CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
	int FindArray(CStringArray *pArray, CString Str);
	void GetSavePath(CString &path);
	void GetNo(CString str, CStringArray &array);
	void FillGrid(BOOL bStatus = 0);
	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(Client2Form)
public:
	virtual void OnInitialUpdate();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

	// Implementation
protected:
	virtual ~Client2Form();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(Client2Form)
	afx_msg void OnBUTclose();
	afx_msg void OnButton1();
	afx_msg void OnSelchangeCombo1();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnBUTshowphoto();
	afx_msg void OnButton2();
	afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBUTClient2Form();
	afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBUTburncd2();
	afx_msg void OnBUTburncd3();
	afx_msg void OnBUTsendmsg();
	afx_msg void OnBUTprint3();
	//}}AFX_MSG
	afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_Client2Form_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)