#if !defined(AFX_ProviderDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_) #define AFX_ProviderDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ProviderDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // ProviderDlg form view #ifndef __AFXEXT_H__ #include #endif class ProviderDlg : public CFormView { CArraym_List1array; CString m_oldid; CString m_oldname; protected: ProviderDlg(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(ProviderDlg) // Form Data public: //{{AFX_DATA(ProviderDlg) enum { IDD = IDD_DLGProvider }; CSortListCtrl2 m_List1; CStatic m_static1; CString m_address; CString m_bz; CString m_fax; CString m_id; CString m_name; CString m_netaddress; CString m_phone; //}}AFX_DATA // Attributes public: // Operations public: BOOL IsExist(); BOOL IsExistID(); BOOL IsExistName(); void GetData(); void ListSelChange(); void ClearCtrl(); void FillGrid(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(ProviderDlg) public: virtual void OnInitialUpdate(); virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: virtual ~ProviderDlg(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions //{{AFX_MSG(ProviderDlg) afx_msg void OnBUTsave(); afx_msg void OnBUTdel(); afx_msg void OnBUTclose(); afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnBUTadd(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ProviderDlg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)