📄 demo1doc.h
字号:
// demo1Doc.h : interface of the CDemo1Doc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DEMO1DOC_H__3F752AA5_8E13_4DF8_BA4F_8EC06B11C4CA__INCLUDED_)
#define AFX_DEMO1DOC_H__3F752AA5_8E13_4DF8_BA4F_8EC06B11C4CA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDemo1Doc : public CDocument
{
protected: // create from serialization only
CDemo1Doc();
DECLARE_DYNCREATE(CDemo1Doc)
// Attributes
public:
friend class CDemo1View;
protected: //[沈瑜注]:由于protected,CDemo1View是友元,可直接访问
//'.'沈瑜 2001.12.2
int m_nLineNum;
CStringArray m_strings; //如果用字符指针数组,改用CPtrArray,类似;看MSDN
//.'.沈瑜 2001.12.2
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDemo1Doc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDemo1Doc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDemo1Doc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEMO1DOC_H__3F752AA5_8E13_4DF8_BA4F_8EC06B11C4CA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -