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

书籍源码

开发平台:

Visual C++

  1. // ODBCDepartmentDoc.h : interface of the CODBCDepartmentDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_ODBCDEPARTMENTDOC_H__4C511D23_3A73_11D2_9949_CA74FE5E5648__INCLUDED_)
  5. #define AFX_ODBCDEPARTMENTDOC_H__4C511D23_3A73_11D2_9949_CA74FE5E5648__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "ODBCDepartmentSet.h"
  10. class CODBCDepartmentDoc : public CDocument
  11. {
  12. protected: // create from serialization only
  13. CODBCDepartmentDoc();
  14. DECLARE_DYNCREATE(CODBCDepartmentDoc)
  15. // Attributes
  16. public:
  17. CODBCDepartmentSet m_oDBCDepartmentSet;
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CODBCDepartmentDoc)
  23. public:
  24. virtual BOOL OnNewDocument();
  25. virtual void Serialize(CArchive& ar);
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. virtual ~CODBCDepartmentDoc();
  30. #ifdef _DEBUG
  31. virtual void AssertValid() const;
  32. virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34. protected:
  35. // Generated message map functions
  36. protected:
  37. //{{AFX_MSG(CODBCDepartmentDoc)
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. /////////////////////////////////////////////////////////////////////////////
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  44. #endif // !defined(AFX_ODBCDEPARTMENTDOC_H__4C511D23_3A73_11D2_9949_CA74FE5E5648__INCLUDED_)