⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oppview.h

📁 模拟操作系统存储功能的软件可以供教学研究
💻 H
字号:
// oppView.h : interface of the COppView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_OPPVIEW_H__8840856D_906E_450E_96E3_165F1C8A9DF7__INCLUDED_)
#define AFX_OPPVIEW_H__8840856D_906E_450E_96E3_165F1C8A9DF7__INCLUDED_

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


class COppView : public CView
{
protected: // create from serialization only
	COppView();
	~COppView();
	DECLARE_DYNCREATE(COppView)

// Attributes
public:
	COppDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COppView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

// Implementation
public:
	void MoveWork();
	void MoveChart();
	void DoPage();
	void SectionChart();
	void DoWorks();
	void ChartForm();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(COppView)
	afx_msg void OnOppDo();
	afx_msg void OnOppUndo();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnDomov();
	afx_msg void OnDopage();
	afx_msg void OnDoworks();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	void FillPage(int x,int y);
	void Fill_1();
	void Fill_2();
	void Fill_3();
	void Fill_4();
	void FillMov(int x,int y);
	void FillPart_4();
	void FillPart_3();
	void FillPart_2();
	void FillPart_1();
	int i_k;
	UINT m_iTimer;

	int i_x, i_y;
	int sign;
	int status;	
	int begin,start;
	int i_Status, i_Sign;
	int sign_1,sign_2;
	int loop_1,loop_2;

};

#ifndef _DEBUG  // debug version in oppView.cpp
inline COppDoc* COppView::GetDocument()
   { return (COppDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_OPPVIEW_H__8840856D_906E_450E_96E3_165F1C8A9DF7__INCLUDED_)

⌨️ 快捷键说明

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