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

书籍源码

开发平台:

Visual C++

  1. // ODBCDeptInstrView.h : interface of the CODBCDeptInstrView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_ODBCDEPTINSTRVIEW_H__E41EC1C1_3EFB_11D2_9949_8B1DD78D9246__INCLUDED_)
  5. #define AFX_ODBCDEPTINSTRVIEW_H__E41EC1C1_3EFB_11D2_9949_8B1DD78D9246__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CODBCDeptInstrSet;
  10. class CODBCDeptInstrView : public CRecordView
  11. {
  12. protected: // create from serialization only
  13. CODBCDeptInstrView();
  14. DECLARE_DYNCREATE(CODBCDeptInstrView)
  15. public:
  16. //{{AFX_DATA(CODBCDeptInstrView)
  17. enum { IDD = IDD_ODBCDEPTINSTR_FORM };
  18. CODBCDeptInstrSet* m_pSet;
  19. //}}AFX_DATA
  20. // Attributes
  21. public:
  22. CODBCDeptInstrDoc* GetDocument();
  23. // Operations
  24. public:
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CODBCDeptInstrView)
  28. public:
  29. virtual CRecordset* 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. //}}AFX_VIRTUAL
  35. // Implementation
  36. public:
  37. virtual ~CODBCDeptInstrView();
  38. #ifdef _DEBUG
  39. virtual void AssertValid() const;
  40. virtual void Dump(CDumpContext& dc) const;
  41. #endif
  42. protected:
  43. // Generated message map functions
  44. protected:
  45. //{{AFX_MSG(CODBCDeptInstrView)
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. #ifndef _DEBUG  // debug version in ODBCDeptInstrView.cpp
  50. inline CODBCDeptInstrDoc* CODBCDeptInstrView::GetDocument()
  51.    { return (CODBCDeptInstrDoc*)m_pDocument; }
  52. #endif
  53. /////////////////////////////////////////////////////////////////////////////
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_ODBCDEPTINSTRVIEW_H__E41EC1C1_3EFB_11D2_9949_8B1DD78D9246__INCLUDED_)