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

📄 lmview.cpp

📁 VISUAL C++与MATLAB实现混合编程源代码
💻 CPP
字号:
// lmView.cpp : implementation of the CLmView class
//

#include "stdafx.h"
#include "lm.h"

#include "lmDoc.h"
#include "lmView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CLmView

IMPLEMENT_DYNCREATE(CLmView, CView)

BEGIN_MESSAGE_MAP(CLmView, CView)
	//{{AFX_MSG_MAP(CLmView)
	ON_COMMAND(ID_SIMU, OnSimu)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CLmView construction/destruction

CLmView::CLmView()
{
	// TODO: add construction code here

}

CLmView::~CLmView()
{
}

BOOL CLmView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CLmView drawing

void CLmView::OnDraw(CDC* pDC)
{
	CLmDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CLmView diagnostics

#ifdef _DEBUG
void CLmView::AssertValid() const
{
	CView::AssertValid();
}

void CLmView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CLmDoc* CLmView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CLmDoc)));
	return (CLmDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CLmView message handlers

void CLmView::OnSimu() 
{


  sdlg.DoModal();
	// TODO: Add your command handler code here
	
}

⌨️ 快捷键说明

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