www.pudn.com > shangdianguanlixitong.rar > shopDlg.h, change:2005-06-19,size:2792b


// shopDlg.h : header file 
// 
 
#if !defined(AFX_SHOPDLG_H__29836BA6_4908_4A9B_8C51_CBF7AD11E9C8__INCLUDED_) 
#define AFX_SHOPDLG_H__29836BA6_4908_4A9B_8C51_CBF7AD11E9C8__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CShopDlg dialog 
 
class CShopDlg : public CDialog 
{ 
// Construction 
public: 
	_RecordsetPtr m_pRecordset; 
	_RecordsetPtr m_pRecordset1; 
	//_RecordsetPtr m_pRecordset2; 
	void SaveData(); 
	void LoadData(); 
	void LoadData0(); 
	void displayintheuserlist(); 
	int m_nCurrentSel; 
	int nItem; 
	_variant_t vempno,vempname,vsex,vsalary,vduty,vdeptno,vdeptname,vmanagername,vbirthday,vaddress,vtelephone,vremark; 
	 
	CString mode1,mode2,option1,option2,andor,condition1,condition2; 
	CString sql; 
	bool option11,option22,andor00; 
 
 
	CShopDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CShopDlg) 
	enum { IDD = IDD_SHOP_DIALOG }; 
	CButton	m_modify; 
	CButton	m_inquiry; 
	CButton	m_delete; 
	CButton	m_close; 
	CButton	m_add; 
	CListCtrl	m_userlist; 
	CString	m_address; 
	CString	m_deptname; 
	CString	m_deptno; 
	CString	m_duty; 
	CString	m_empname; 
	CString	m_empno; 
	CString	m_managername; 
	CString	m_remark; 
	CString	m_salary; 
	CString	m_sex; 
	CString	m_telephone; 
	CString	m_birthday; 
	CString	m_mode1; 
	CString	m_mode2; 
	CString	m_condition1; 
	CString	m_condition2; 
	CString	m_count; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CShopDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CShopDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnItemchangedUserlist(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void Onadd(); 
	afx_msg void OnEditchangemode1(); 
	afx_msg void OnEditchangemode2(); 
	afx_msg void Onlessthan1(); 
	afx_msg void Onequal1(); 
	afx_msg void Onmorethan1(); 
	afx_msg void Onor(); 
	afx_msg void Onand(); 
	afx_msg void Onlessthan2(); 
	afx_msg void Onequal2(); 
	afx_msg void Onmorethan2(); 
	afx_msg void Oninquiry(); 
	afx_msg void Ondelete(); 
	afx_msg void Onmodify(); 
	afx_msg void Onclose(); 
	afx_msg void Oncountnumber(); 
	afx_msg void Onpersonmanage(); 
	afx_msg void OnMenuitem32773(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SHOPDLG_H__29836BA6_4908_4A9B_8C51_CBF7AD11E9C8__INCLUDED_)