learndoc.cpp

来自「机器人路径规划程序 机器人路径规划程序 机器人路径规划程序」· C++ 代码 · 共 98 行

CPP
98
字号
// LearnDoc.cpp : implementation of the CLearnDoc class
//

#include "stdafx.h"
#include "Learn.h"

#include "LearnDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CLearnDoc

IMPLEMENT_DYNCREATE(CLearnDoc, CDocument)

BEGIN_MESSAGE_MAP(CLearnDoc, CDocument)
	//{{AFX_MSG_MAP(CLearnDoc)
	ON_COMMAND(ID_MAP1, OnMap1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CLearnDoc construction/destruction

CLearnDoc::CLearnDoc()
{
	// TODO: add one-time construction code here

}

CLearnDoc::~CLearnDoc()
{
}

BOOL CLearnDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CLearnDoc serialization

void CLearnDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CLearnDoc diagnostics

#ifdef _DEBUG
void CLearnDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CLearnDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CLearnDoc commands

//void CLearnDoc::OnTest() 
//{
//	// TODO: Add your command handler code here
//	AfxMessageBox("TEST");
//	
//}

void CLearnDoc::OnMap1() 
{
	// TODO: Add your command handler code here
//	AfxMessageBox("maop");
	
}

⌨️ 快捷键说明

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