OLEDBDepartmentMFCDoc.cpp
上传用户:benben_wyd
上传日期:2010-02-26
资源大小:1229k
文件大小:1k
源码类别:

书籍源码

开发平台:

Visual C++

  1. // OLEDBDepartmentMFCDoc.cpp : implementation of the COLEDBDepartmentMFCDoc class
  2. //
  3. #include "stdafx.h"
  4. #include "OLEDBDepartmentMFC.h"
  5. #include "OLEDBDepartmentMFCSet.h"
  6. #include "OLEDBDepartmentMFCDoc.h"
  7. #ifdef _DEBUG
  8. #define new DEBUG_NEW
  9. #undef THIS_FILE
  10. static char THIS_FILE[] = __FILE__;
  11. #endif
  12. /////////////////////////////////////////////////////////////////////////////
  13. // COLEDBDepartmentMFCDoc
  14. IMPLEMENT_DYNCREATE(COLEDBDepartmentMFCDoc, CDocument)
  15. BEGIN_MESSAGE_MAP(COLEDBDepartmentMFCDoc, CDocument)
  16. //{{AFX_MSG_MAP(COLEDBDepartmentMFCDoc)
  17. //}}AFX_MSG_MAP
  18. END_MESSAGE_MAP()
  19. /////////////////////////////////////////////////////////////////////////////
  20. // COLEDBDepartmentMFCDoc construction/destruction
  21. COLEDBDepartmentMFCDoc::COLEDBDepartmentMFCDoc()
  22. {
  23. }
  24. COLEDBDepartmentMFCDoc::~COLEDBDepartmentMFCDoc()
  25. {
  26. }
  27. BOOL COLEDBDepartmentMFCDoc::OnNewDocument()
  28. {
  29. if (!CDocument::OnNewDocument())
  30. return FALSE;
  31. return TRUE;
  32. }
  33. /////////////////////////////////////////////////////////////////////////////
  34. // COLEDBDepartmentMFCDoc diagnostics
  35. #ifdef _DEBUG
  36. void COLEDBDepartmentMFCDoc::AssertValid() const
  37. {
  38. CDocument::AssertValid();
  39. }
  40. void COLEDBDepartmentMFCDoc::Dump(CDumpContext& dc) const
  41. {
  42. CDocument::Dump(dc);
  43. }
  44. #endif //_DEBUG
  45. /////////////////////////////////////////////////////////////////////////////
  46. // COLEDBDepartmentMFCDoc commands