drawcoindoc.h

来自「这个是我们学校用的VC++教案」· C头文件 代码 · 共 61 行

H
61
字号
// DrawCoinDoc.h : interface of the CDrawCoinDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_DRAWCOINDOC_H__4978DFEC_9812_11D6_888D_845588753273__INCLUDED_)
#define AFX_DRAWCOINDOC_H__4978DFEC_9812_11D6_888D_845588753273__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CDrawCoinDoc : public CDocument
{
protected: // create from serialization only
	CDrawCoinDoc();
	DECLARE_DYNCREATE(CDrawCoinDoc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDrawCoinDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual void DeleteContents();
	//}}AFX_VIRTUAL

// Implementation
public:
	int m_nCoins;
	virtual ~CDrawCoinDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CDrawCoinDoc)
	afx_msg void OnCoinAdd();
	afx_msg void OnCoinSub();
	afx_msg void OnUpdateCoinSub(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DRAWCOINDOC_H__4978DFEC_9812_11D6_888D_845588753273__INCLUDED_)

⌨️ 快捷键说明

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