jcbview.h

来自「本程序使用VC++6.0主要完成操作系统的作业调度包括时间片轮转法,先进现出算法」· C头文件 代码 · 共 74 行

H
74
字号
// JCBView.h : interface of the CJCBView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_JCBVIEW_H__E83E2175_5DAE_4981_877E_69DC2960F46B__INCLUDED_)
#define AFX_JCBVIEW_H__E83E2175_5DAE_4981_877E_69DC2960F46B__INCLUDED_

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


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

// Attributes
public:
	CJCBDoc* GetDocument();

// Operations
public:
	int px;
	int dx;
	int fx;
	int BrushNO;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CJCBView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CJCBView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CJCBView)
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnMenuEdit();
	afx_msg void OnFCFS();
	afx_msg void OnSJF();
	afx_msg void OnPri();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in JCBView.cpp
inline CJCBDoc* CJCBView::GetDocument()
   { return (CJCBDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_JCBVIEW_H__E83E2175_5DAE_4981_877E_69DC2960F46B__INCLUDED_)

⌨️ 快捷键说明

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