www.pudn.com > 4-5cha.rar > LabMISDlg.h


// LabMISDlg.h : header file 
// 
 
#if !defined(AFX_LABMISDLG_H__BB00B335_FD45_4F48_8C9B_44C170BECAF0__INCLUDED_) 
#define AFX_LABMISDLG_H__BB00B335_FD45_4F48_8C9B_44C170BECAF0__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CLabMISDlg dialog 
 
class CLabMISDlg : public CDialog 
{ 
// Construction 
public: 
	 
	CLabMISDlg(CWnd* pParent = NULL);	// standard constructor 
	~CLabMISDlg(); 
	CADODatabase * pDB; 
    CADORecordset* pRs; 
// Dialog Data 
	//{{AFX_DATA(CLabMISDlg) 
	enum { IDD = IDD_LABMIS_DIALOG }; 
	CListCtrl	m_listPerson; 
	CString	m_editName; 
	CString	m_editQueryName; 
	CString	m_editType; 
	CString	m_editSex; 
	CString	m_editPrj; 
	CString	m_editArea; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CLabMISDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	void ShowDetail(); 
	void RefreshList(CADORecordset& recordset ); 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CLabMISDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnButtonFirst(); 
	afx_msg void OnButtonAll(); 
	afx_msg void OnButtonLast(); 
	afx_msg void OnButtonPre(); 
	afx_msg void OnButtonNext(); 
	afx_msg void OnButtonDelete(); 
	afx_msg void OnClickListPerson(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void OnButtonEdit(); 
	afx_msg void OnButtonQuery(); 
	afx_msg void OnButtonProfe(); 
	afx_msg void OnButtonDocter(); 
	afx_msg void OnButtonMaster(); 
	afx_msg void OnButtonAdd(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_LABMISDLG_H__BB00B335_FD45_4F48_8C9B_44C170BECAF0__INCLUDED_)