curveview.h

来自「如何使用MATLAB编程」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_CURVEVIEW_H__FE9F8097_5997_4989_BD18_78D97B39827B__INCLUDED_)
#define AFX_CURVEVIEW_H__FE9F8097_5997_4989_BD18_78D97B39827B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CurveView.h : header file
//
#include "Lagrange.h"
/////////////////////////////////////////////////////////////////////////////
// CCurveView form view
class CCurveView : public CFormView
{
protected:
	CCurveView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CCurveView)

// Form Data
public:
	//{{AFX_DATA(CCurveView)
	enum { IDD = IDD_DIALOG1 };
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	void ShowCurve();
	fArray m_Data;
	BOOL m_show;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCurveView)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnDraw(CDC* pDC);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CCurveView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
	// Generated message map functions
	//{{AFX_MSG(CCurveView)
	afx_msg void OnAddnumber();
	afx_msg void OnButton2();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	fArray m_DataArr;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CURVEVIEW_H__FE9F8097_5997_4989_BD18_78D97B39827B__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?