opensvmdoc.cpp
来自「OpenSVM was developped under Visual C++ 」· C++ 代码 · 共 96 行
CPP
96 行
// OpenSVMDoc.cpp : implementation of the COpenSVMDoc class
//
#include "stdafx.h"
#include "OpenSVM.h"
#include "OpenSVMDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COpenSVMDoc
IMPLEMENT_DYNCREATE(COpenSVMDoc, CDocument)
BEGIN_MESSAGE_MAP(COpenSVMDoc, CDocument)
//{{AFX_MSG_MAP(COpenSVMDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// COpenSVMDoc construction/destruction
COpenSVMDoc::COpenSVMDoc()
{
// TODO: add one-time construction code here
}
COpenSVMDoc::~COpenSVMDoc()
{
}
BOOL COpenSVMDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// COpenSVMDoc serialization
//DEL void COpenSVMDoc::Serialize(CArchive& ar)
//DEL {
//DEL if (ar.IsStoring())
//DEL {
//DEL // TODO: add storing code here
//DEL }
//DEL else
//DEL {
//DEL // TODO: add loading code here
//DEL }
//DEL }
/////////////////////////////////////////////////////////////////////////////
// COpenSVMDoc diagnostics
#ifdef _DEBUG
void COpenSVMDoc::AssertValid() const
{
CDocument::AssertValid();
}
void COpenSVMDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// COpenSVMDoc commands
//DEL BOOL COpenSVMDoc::OnOpenDocument(LPCTSTR lpszPathName)
//DEL {
//DEL if (!CDocument::OnOpenDocument(lpszPathName))
//DEL return FALSE;
//DEL
//DEL return TRUE;
//DEL }
//DEL void COpenSVMDoc::OnLoadFile()
//DEL {
//DEL // TODO: Add your command handler code here
//DEL
//DEL }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?