www.pudn.com > ±ÏÒµÁôÄî²á.rar > BrowseView.h


// BrowseView.h : interface of the CBrowseView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_BROWSEVIEW_H__663DCAFB_C8C5_4558_86F7_407698545D4B__INCLUDED_) 
#define AFX_BROWSEVIEW_H__663DCAFB_C8C5_4558_86F7_407698545D4B__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// 
#include "ClassmatePage.h" 
#include "MySchoolPage.h" 
#include "MyTeacherPage.h" 
#include "ButtonST.h"	// Added by ClassView 
// 
class CBrowseView : public CFormView 
{ 
protected: // create from serialization only 
	CBrowseView(); 
	DECLARE_DYNCREATE(CBrowseView) 
 
public: 
	//{{AFX_DATA(CBrowseView) 
	enum { IDD = IDD_BROWSE_FORM }; 
	//}}AFX_DATA 
 
// Attributes 
public: 
	//CBrush  m_bkBrush; 
	CBrowseDoc*  GetDocument(); 
	 
// Operations 
public: 
    CPropertySheet  m_MySheet; 
	CClassmatePage  m_ClassmatePage; 
	CMySchoolPage   m_MySchoolPage; 
	CMyTeacherPage  m_TeacherPage; 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CBrowseView) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	virtual void OnInitialUpdate(); // called first time after construct 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	CButtonST m_overViewBtn; 
	CButtonST m_nOpenBtn; 
	CButtonST m_exitBtn; 
	virtual ~CBrowseView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CBrowseView) 
	afx_msg BOOL OnEraseBkgnd(CDC* pDC); 
	afx_msg void OnTestBtn(); 
	afx_msg void OnClosse(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in BrowseView.cpp 
inline CBrowseDoc* CBrowseView::GetDocument() 
   { return (CBrowseDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_BROWSEVIEW_H__663DCAFB_C8C5_4558_86F7_407698545D4B__INCLUDED_)