www.pudn.com > OSDemo.rar > MemPage1.h


#if !defined(AFX_MEMPAGE1_H__B2B89C73_7C0B_4C26_BFE6_035CA818BE1B__INCLUDED_) 
#define AFX_MEMPAGE1_H__B2B89C73_7C0B_4C26_BFE6_035CA818BE1B__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// MemPage1.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CMemPage1 dialog 
//#include "Tab3.h" 
#include "Math.h" 
 
 
class CMemPage1 : public CDialog 
{ 
// Construction 
public: 
	void DrawBar(); 
struct POTS 
{ 
	int rate; 
}; 
 
	bool bDraw; 
	void DrawText(int x, int y, CString Text); 
	void InitGrah(); 
	CMemPage1(CWnd* pParent = NULL);   // standard constructor 
    POTS potFIFO[8]; 
	POTS potOPT[8]; 
	POTS potLRU[8]; 
 
// Dialog Data 
	//{{AFX_DATA(CMemPage1) 
	enum { IDD = IDD_TAB_PAGE1 }; 
	CStatic	m_Draw; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMemPage1) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CMemPage1) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnPaint(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MEMPAGE1_H__B2B89C73_7C0B_4C26_BFE6_035CA818BE1B__INCLUDED_)