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

📄 tec2000view.h

📁 模拟了tec2000的所有功能
💻 H
字号:
// TEC2000View.h : interface of the CTEC2000View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TEC2000VIEW_H__2E02769C_B771_4F6D_B9C9_D017636FC1B8__INCLUDED_)
#define AFX_TEC2000VIEW_H__2E02769C_B771_4F6D_B9C9_D017636FC1B8__INCLUDED_

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

#include"CompileDlg.h"
#include"MicroProDlg.h"
#include"OffSimuDlg.h"
#include"CrosAsmDlg.h"
#include"UnAsmDlg.h"

class CCrosAsmDlg;
class COffSimuDlg;
class CMicroProDlg;
class CCompileDlg;
class CUnAsmDlg;

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

// Attributes
public:
	CTEC2000Doc* GetDocument();
	

// Operations
public:
	CCompileDlg m_pCompileDlg;
	CMicroProDlg m_pMicroProDlg;
    COffSimuDlg m_pOffSimuDlg;
	CCrosAsmDlg m_pCrosAsmDlg;
	CUnAsmDlg m_pUnAsmDlg;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTEC2000View)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTEC2000View)
	afx_msg void OnModeCompile();
	afx_msg void OnModeMicro();
	afx_msg void OnUpdateModeCompile(CCmdUI* pCmdUI);
	afx_msg void OnUpdateModeMicro(CCmdUI* pCmdUI);
	afx_msg void OnModeOffsimu();
	afx_msg void OnUpdateModeOffsimu(CCmdUI* pCmdUI);
	afx_msg void OnModeCros();
	afx_msg void OnUpdateModeCros(CCmdUI* pCmdUI);
	afx_msg void OnModeUnasm();
	afx_msg void OnUpdateModeUnasm(CCmdUI* pCmdUI);
	afx_msg void OnLoadcod();
	afx_msg void OnRun();
	afx_msg void OnDwrun();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in TEC2000View.cpp
inline CTEC2000Doc* CTEC2000View::GetDocument()
   { return (CTEC2000Doc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TEC2000VIEW_H__2E02769C_B771_4F6D_B9C9_D017636FC1B8__INCLUDED_)

⌨️ 快捷键说明

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