www.gusucode.com > VC+MSSQL物资管理系统源码程序 > VC+MSSQL物资管理系统源码程序\code\Code\Material_MISDoc.cpp
//Download by http://www.NewXing.com // Material_MISDoc.cpp : implementation of the CMaterial_MISDoc class // #include "stdafx.h" #include "Material_MIS.h" #include "Material_MISDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CMaterial_MISDoc IMPLEMENT_DYNCREATE(CMaterial_MISDoc, CDocument) BEGIN_MESSAGE_MAP(CMaterial_MISDoc, CDocument) //{{AFX_MSG_MAP(CMaterial_MISDoc) // 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() ///////////////////////////////////////////////////////////////////////////// // CMaterial_MISDoc construction/destruction CMaterial_MISDoc::CMaterial_MISDoc() { // TODO: add one-time construction code here } CMaterial_MISDoc::~CMaterial_MISDoc() { } BOOL CMaterial_MISDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CMaterial_MISDoc serialization void CMaterial_MISDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CMaterial_MISDoc diagnostics #ifdef _DEBUG void CMaterial_MISDoc::AssertValid() const { CDocument::AssertValid(); } void CMaterial_MISDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CMaterial_MISDoc commands