?? vtkmfcdocument.cpp
字號:
// vtkMFCDocument.cpp : implementation file//#include "stdafx.h"#include "Sample.h"#include "vtkMFCDocument.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// vtkMFCDocumentIMPLEMENT_DYNCREATE(vtkMFCDocument, CDocument)vtkMFCDocument::vtkMFCDocument(){ this->Props = vtkPropCollection::New();}BOOL vtkMFCDocument::OnNewDocument(){ if (!CDocument::OnNewDocument()) return FALSE; return TRUE;}vtkMFCDocument::~vtkMFCDocument(){ if (this->Props) this->Props->Delete();}BEGIN_MESSAGE_MAP(vtkMFCDocument, CDocument) //{{AFX_MSG_MAP(vtkMFCDocument) // NOTE - the ClassWizard will add and remove mapping macros here. //}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// vtkMFCDocument diagnostics#ifdef _DEBUGvoid vtkMFCDocument::AssertValid() const{ CDocument::AssertValid();}void vtkMFCDocument::Dump(CDumpContext& dc) const{ CDocument::Dump(dc);}#endif //_DEBUG/////////////////////////////////////////////////////////////////////////////// vtkMFCDocument serializationvoid vtkMFCDocument::Serialize(CArchive& ar){ if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here }}/////////////////////////////////////////////////////////////////////////////// vtkMFCDocument commands
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -