ex30doc.h

来自「一些VC++的经典实例」· C头文件 代码 · 共 72 行

H
72
字号
// ex30Doc.h : interface of the CEx30Doc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_EX30DOC_H__7343AE9C_4EEE_457E_AA77_F285EB09D2AF__INCLUDED_)
#define AFX_EX30DOC_H__7343AE9C_4EEE_457E_AA77_F285EB09D2AF__INCLUDED_

#include "InsertDlg.h"	// Added by ClassView
//#include "card.h"	// Added by ClassView
#include "SearchDlg.h"	// Added by ClassView
#include "DeleteDlg.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

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

// Attributes
public:

// Operations
public:

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

// Implementation
public:
	CDeleteDlg m_DeleteDlg;
	BOOL IsChangeValidate;
	CInsertDlg m_InsertDlg;
	CSearchDlg m_SearchDlg;
	CCard * lpCurrent;
	CCard * lpHead;
	virtual ~CEx30Doc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CEx30Doc)
	afx_msg void OnCardDelete();
	afx_msg void OnCardInsert();
	afx_msg void OnCardSearch();
	afx_msg void OnCardUpdate();
	afx_msg void OnUpdateCardDelete(CCmdUI* pCmdUI);
	afx_msg void OnUpdateCardUpdate(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_EX30DOC_H__7343AE9C_4EEE_457E_AA77_F285EB09D2AF__INCLUDED_)

⌨️ 快捷键说明

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