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

📄 dan_backcomview.cpp

📁 Moravec算子实现程序 Moravec算子实现程序
💻 CPP
字号:
// Dan_backcomView.cpp : implementation of the CDan_backcomView class
//

#include "stdafx.h"
#include "Dan_backcom.h"
#include "BACK.h"

#include "Dan_backcomDoc.h"
#include "Dan_backcomView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDan_backcomView

IMPLEMENT_DYNCREATE(CDan_backcomView, CView)

BEGIN_MESSAGE_MAP(CDan_backcomView, CView)
	//{{AFX_MSG_MAP(CDan_backcomView)
	ON_COMMAND(ID_BACK, OnBack)
	//}}AFX_MSG_MAP
	// Standard printing commands
	ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDan_backcomView construction/destruction

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

}

CDan_backcomView::~CDan_backcomView()
{
}

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

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CDan_backcomView drawing

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

/////////////////////////////////////////////////////////////////////////////
// CDan_backcomView printing

BOOL CDan_backcomView::OnPreparePrinting(CPrintInfo* pInfo)
{
	// default preparation
	return DoPreparePrinting(pInfo);
}

void CDan_backcomView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add extra initialization before printing
}

void CDan_backcomView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add cleanup after printing
}

/////////////////////////////////////////////////////////////////////////////
// CDan_backcomView diagnostics

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CDan_backcomView message handlers


void CDan_backcomView::OnBack() 
{
	// TODO: Add your command handler code here
	BACK back;
	back.DoModal();

}

⌨️ 快捷键说明

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