?? 水箱實驗doc.cpp
字號:
// 水箱實驗Doc.cpp : implementation of the CMyDoc class//#include "stdafx.h"#include "水箱實驗.h"#include "水箱實驗Doc.h"#include "caiyang.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CMyDocIMPLEMENT_DYNCREATE(CMyDoc, CDocument)BEGIN_MESSAGE_MAP(CMyDoc, CDocument) //{{AFX_MSG_MAP(CMyDoc) //}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CMyDoc construction/destructionCMyDoc::CMyDoc(){ // TODO: add one-time construction code here}CMyDoc::~CMyDoc(){ // TODO: add one-time construction code here}BOOL CMyDoc::OnNewDocument(){ if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE;}/////////////////////////////////////////////////////////////////////////////// CMyDoc serializationvoid CMyDoc::Serialize(CArchive& ar){ if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here }}/////////////////////////////////////////////////////////////////////////////// CMyDoc diagnostics#ifdef _DEBUGvoid CMyDoc::AssertValid() const{ CDocument::AssertValid();}void CMyDoc::Dump(CDumpContext& dc) const{ CDocument::Dump(dc);}#endif //_DEBUG/////////////////////////////////////////////////////////////////////////////// CMyDoc commands//void CMyDoc::OnTime() //{ // TODO: Add your command handler code here// Ccaiyang dlg;// dlg.m_time=m_time; // dlg.DoModal(); // if(dlg.DoModal()==IDOK)// {// m_time=dlg.m_time;// } //}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -