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. //}}AFX_VIRTUAL
  38. // Implementation
  39. public:
  40. virtual ~CDAODeptInstView();
  41. #ifdef _DEBUG
  42. virtual void AssertValid() const;
  43. virtual void Dump(CDumpContext& dc) const;
  44. #endif
  45. protected:
  46. // Generated message map functions
  47. protected:
  48. //{{AFX_MSG(CDAODeptInstView)
  49. // NOTE - the ClassWizard will add and remove member functions here.
  50. //    DO NOT EDIT what you see in these blocks of generated code !
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. #ifndef _DEBUG  // debug version in DAODeptInstView.cpp
  55. inline CDAODeptInstDoc* CDAODeptInstView::GetDocument()
  56.    { return (CDAODeptInstDoc*)m_pDocument; }
  57. #endif
  58. /////////////////////////////////////////////////////////////////////////////
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_DAODEPTINSTVIEW_H__D7B46FAD_9504_11D2_9949_983981A5C342__INCLUDED_)