www.pudn.com > shangdianguanlixitong.rar > deptment.h, change:2005-06-21,size:1656b


#if !defined(AFX_DEPTMENT_H__3B285856_913D_45A9_A116_EB79E9EC386C__INCLUDED_) 
#define AFX_DEPTMENT_H__3B285856_913D_45A9_A116_EB79E9EC386C__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// deptment.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// Cdeptment dialog 
 
class Cdeptment : public CDialog 
{ 
// Construction 
public: 
	Cdeptment(CWnd* pParent = NULL);   // standard constructor 
	int nItem; 
	_variant_t vdeptno,vdeptname,vmanagername; 
	_RecordsetPtr m_pRecordset; 
	void displayintheuserlist(); 
	void LoadData0(); 
    CString sql; 
	int m_nCurrentSel; 
// Dialog Data 
	//{{AFX_DATA(Cdeptment) 
	enum { IDD = IDD_deptment }; 
	CListCtrl	m_userlist; 
	CString	m_vdeptname; 
	CString	m_vdeptno; 
	CString	m_vmanagername; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(Cdeptment) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(Cdeptment) 
	afx_msg void OnButton4(); 
	virtual BOOL OnInitDialog(); 
	afx_msg void Onadddeptment(); 
	afx_msg void Ondeletedeptment(); 
	afx_msg void OnItemchangedUserlist(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void Onmodifydeptment(); 
	afx_msg void OnButton1(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DEPTMENT_H__3B285856_913D_45A9_A116_EB79E9EC386C__INCLUDED_)