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

书籍源码

开发平台:

Visual C++

  1. // DAODeptInstView.h : interface of the CDAODeptInstView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_DAODEPTINSTVIEW_H__D7B46FAD_9504_11D2_9949_983981A5C342__INCLUDED_)
  5. #define AFX_DAODEPTINSTVIEW_H__D7B46FAD_9504_11D2_9949_983981A5C342__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CDAODeptInstSet;
  10. class CDAODeptInstView : public CDaoRecordView
  11. {
  12. protected: // create from serialization only
  13. CDAODeptInstView();
  14. DECLARE_DYNCREATE(CDAODeptInstView)
  15. public:
  16. //{{AFX_DATA(CDAODeptInstView)
  17. enum { IDD = IDD_DAODEPTINST_FORM };
  18. CDAODeptInstSet* m_pSet;
  19. //}}AFX_DATA
  20. // Attributes
  21. public:
  22. CDAODeptInstDoc* GetDocument();
  23. // Operations
  24. public:
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CDAODeptInstView)
  28. public:
  29. virtual CDaoRecordset* OnGetRecordset();
  30. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  33. virtual void OnInitialUpdate(); // called first time after construct
  34. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  35. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  36. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  37. virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. public:
  41. virtual ~CDAODeptInstView();
  42. #ifdef _DEBUG
  43. virtual void AssertValid() const;
  44. virtual void Dump(CDumpContext& dc) const;
  45. #endif
  46. protected:
  47. // Generated message map functions
  48. protected:
  49. //{{AFX_MSG(CDAODeptInstView)
  50. // NOTE - the ClassWizard will add and remove member functions here.
  51. //    DO NOT EDIT what you see in these blocks of generated code !
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. };
  55. #ifndef _DEBUG  // debug version in DAODeptInstView.cpp
  56. inline CDAODeptInstDoc* CDAODeptInstView::GetDocument()
  57.    { return (CDAODeptInstDoc*)m_pDocument; }
  58. #endif
  59. /////////////////////////////////////////////////////////////////////////////
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_DAODEPTINSTVIEW_H__D7B46FAD_9504_11D2_9949_983981A5C342__INCLUDED_)