m_esystemview.h

来自「燕山大学监考系统」· C头文件 代码 · 共 85 行

H
85
字号
// M_ESystemView.h : interface of the CM_ESystemView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_M_ESYSTEMVIEW_H__138794BF_20A3_4025_8324_5C42D2C9D1BF__INCLUDED_)
#define AFX_M_ESYSTEMVIEW_H__138794BF_20A3_4025_8324_5C42D2C9D1BF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CM_ESystemView : public CScrollView
{
protected: // create from serialization only
	CM_ESystemView();
	DECLARE_DYNCREATE(CM_ESystemView)

// Attributes
public:
	CM_ESystemDoc* GetDocument();

// Operations
public:
	void PrintPageHeader(CDC *pDc);
	void PrintPageFooter(CDC *pDc);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CM_ESystemView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	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:
	CString m_temp1;
	int m_nPage;
	int count;
	CString m_End;
	CRect m_rectPrint;
	virtual ~CM_ESystemView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CM_ESystemView)
	afx_msg void OnBaseInfo();
	afx_msg void OnMTeacher();
	afx_msg void OnPrintEnd();
	afx_msg void OnMTea();
	afx_msg void OnShow();
	afx_msg void OnUpdateMTea(CCmdUI* pCmdUI);
	afx_msg void OnUpdateShow(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMTeacher(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePrintEnd(CCmdUI* pCmdUI);
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in M_ESystemView.cpp
inline CM_ESystemDoc* CM_ESystemView::GetDocument()
   { return (CM_ESystemDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_M_ESYSTEMVIEW_H__138794BF_20A3_4025_8324_5C42D2C9D1BF__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?