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

📄 storagedoc.cpp

📁 此库存系统是C++语言与数据库相结合的
💻 CPP
字号:
// storageDoc.cpp : implementation of the CStorageDoc class
//

#include "stdafx.h"
#include "storage.h"

#include "storageSet.h"
#include "storageDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CStorageDoc

IMPLEMENT_DYNCREATE(CStorageDoc, CDocument)

BEGIN_MESSAGE_MAP(CStorageDoc, CDocument)
	//{{AFX_MSG_MAP(CStorageDoc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CStorageDoc construction/destruction

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

//m_factoryset.m_pDatabase=m_goodset.m_pDatabase=m_storageSet.m_pDatabase;
//m_factoryset.m_hstmt=m_goodset.m_hstmt=m_storageSet.m_hstmt;
}

CStorageDoc::~CStorageDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CStorageDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CStorageDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CStorageDoc commands

⌨️ 快捷键说明

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