skyblue_BoxManDoc.cpp
上传用户:qiangti
上传日期:2022-04-06
资源大小:644k
文件大小:2k
源码类别:

其他智力游戏

开发平台:

Visual C++

  1. // skyblue_BoxManDoc.cpp : implementation of the CSkyblue_BoxManDoc class
  2. //
  3. #include "stdafx.h"
  4. #include "skyblue_BoxMan.h"
  5. #include "skyblue_BoxManDoc.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CSkyblue_BoxManDoc
  13. IMPLEMENT_DYNCREATE(CSkyblue_BoxManDoc, CDocument)
  14. BEGIN_MESSAGE_MAP(CSkyblue_BoxManDoc, CDocument)
  15. //{{AFX_MSG_MAP(CSkyblue_BoxManDoc)
  16. // NOTE - the ClassWizard will add and remove mapping macros here.
  17. //    DO NOT EDIT what you see in these blocks of generated code!
  18. //}}AFX_MSG_MAP
  19. END_MESSAGE_MAP()
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CSkyblue_BoxManDoc construction/destruction
  22. CSkyblue_BoxManDoc::CSkyblue_BoxManDoc()
  23. {
  24. // TODO: add one-time construction code here
  25. }
  26. CSkyblue_BoxManDoc::~CSkyblue_BoxManDoc()
  27. {
  28. }
  29. BOOL CSkyblue_BoxManDoc::OnNewDocument()
  30. {
  31. if (!CDocument::OnNewDocument())
  32. return FALSE;
  33. // TODO: add reinitialization code here
  34. // (SDI documents will reuse this document)
  35. return TRUE;
  36. }
  37. /////////////////////////////////////////////////////////////////////////////
  38. // CSkyblue_BoxManDoc serialization
  39. void CSkyblue_BoxManDoc::Serialize(CArchive& ar)
  40. {
  41. if (ar.IsStoring())
  42. {
  43. // TODO: add storing code here
  44. }
  45. else
  46. {
  47. // TODO: add loading code here
  48. }
  49. }
  50. /////////////////////////////////////////////////////////////////////////////
  51. // CSkyblue_BoxManDoc diagnostics
  52. #ifdef _DEBUG
  53. void CSkyblue_BoxManDoc::AssertValid() const
  54. {
  55. CDocument::AssertValid();
  56. }
  57. void CSkyblue_BoxManDoc::Dump(CDumpContext& dc) const
  58. {
  59. CDocument::Dump(dc);
  60. }
  61. #endif //_DEBUG
  62. /////////////////////////////////////////////////////////////////////////////
  63. // CSkyblue_BoxManDoc commands