DNAView.h
资源名称:DNA4.rar [点击查看]
上传用户:kanghaisi
上传日期:2017-04-20
资源大小:5727k
文件大小:2k
源码类别:
DNA
开发平台:
Visual C++
- // DNAView.h : interface of the CDNAView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DNAVIEW_H__09FC47FA_D195_467E_9C6B_68FF4FE3C1CF__INCLUDED_)
- #define AFX_DNAVIEW_H__09FC47FA_D195_467E_9C6B_68FF4FE3C1CF__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CDNAView : public CView
- {
- protected: // create from serialization only
- CDNAView();
- DECLARE_DYNCREATE(CDNAView)
- // Attributes
- public:
- CDNADoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDNAView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CDNAView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CDNAView)
- afx_msg void OnExplain();
- afx_msg void OnShow();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in DNAView.cpp
- inline CDNADoc* CDNAView::GetDocument()
- { return (CDNADoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DNAVIEW_H__09FC47FA_D195_467E_9C6B_68FF4FE3C1CF__INCLUDED_)