📄 2difsview.h
字号:
// 2DIFSView.h : interface of the CMy2DIFSView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_2DIFSVIEW_H__6E3D412F_0A3C_11D3_AFC6_00ED140000A2__INCLUDED_)
#define AFX_2DIFSVIEW_H__6E3D412F_0A3C_11D3_AFC6_00ED140000A2__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CMy2DIFSView : public CView
{
protected: // create from serialization only
CMy2DIFSView();
DECLARE_DYNCREATE(CMy2DIFSView)
// Attributes
public:
CMy2DIFSDoc* GetDocument();
double x,y;int i,k;
int MaxY;
double a[8],b[8],c[8],d[8],e[8],f[8],p[8];
COLORREF m_pColor;
int drawtrue;
int m_N;
int stepx,stepy;
int totalsteps;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMy2DIFSView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
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 ~CMy2DIFSView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
afx_msg void OnContextMenu(CWnd*, CPoint point);
//{{AFX_MSG(CMy2DIFSView)
afx_msg void OnColorMenu();
afx_msg void OnDrawMenu();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in 2DIFSView.cpp
inline CMy2DIFSDoc* CMy2DIFSView::GetDocument()
{ return (CMy2DIFSDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_2DIFSVIEW_H__6E3D412F_0A3C_11D3_AFC6_00ED140000A2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -