⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 finacemisdoc.cpp

📁 一个用MFC编写的家庭财务管理系统.采用了Sqlserver数据库.压缩包中已包括了所需的数据库文件.可直接附加到SQL服务器.
💻 CPP
字号:
// FinaceMISDoc.cpp : implementation of the CFinaceMISDoc class
//

#include "stdafx.h"
#include "FinaceMIS.h"

#include "FinaceMISDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CFinaceMISDoc

IMPLEMENT_DYNCREATE(CFinaceMISDoc, CDocument)

BEGIN_MESSAGE_MAP(CFinaceMISDoc, CDocument)
	//{{AFX_MSG_MAP(CFinaceMISDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

BEGIN_DISPATCH_MAP(CFinaceMISDoc, CDocument)
	//{{AFX_DISPATCH_MAP(CFinaceMISDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//      DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_DISPATCH_MAP
END_DISPATCH_MAP()

// Note: we add support for IID_IFinaceMIS to support typesafe binding
//  from VBA.  This IID must match the GUID that is attached to the 
//  dispinterface in the .ODL file.

// {524F30A8-83CF-4959-8BA8-542EE4F78DD1}
static const IID IID_IFinaceMIS =
{ 0x524f30a8, 0x83cf, 0x4959, { 0x8b, 0xa8, 0x54, 0x2e, 0xe4, 0xf7, 0x8d, 0xd1 } };

BEGIN_INTERFACE_MAP(CFinaceMISDoc, CDocument)
	INTERFACE_PART(CFinaceMISDoc, IID_IFinaceMIS, Dispatch)
END_INTERFACE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFinaceMISDoc construction/destruction

CFinaceMISDoc::CFinaceMISDoc()
{
	// TODO: add one-time construction code here

	EnableAutomation();

	AfxOleLockApp();
}

CFinaceMISDoc::~CFinaceMISDoc()
{
	AfxOleUnlockApp();
}

BOOL CFinaceMISDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CFinaceMISDoc serialization

void CFinaceMISDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CFinaceMISDoc diagnostics

#ifdef _DEBUG
void CFinaceMISDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CFinaceMISDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CFinaceMISDoc commands

⌨️ 快捷键说明

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