graphdataset.h

来自「操作系统的演示代码」· C头文件 代码 · 共 59 行

H
59
字号
//GraphDataSet.h - Version 3.0 (Brian Convery, May, 2001)

#if !defined(AFX_GRAPHDATASET_H__3CBDC4C1_494F_11D5_AD40_006008198224__INCLUDED_)
#define AFX_GRAPHDATASET_H__3CBDC4C1_494F_11D5_AD40_006008198224__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GraphDataSet.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CGraphDataSet window

class CGraphDataSet : public CStatic
{
// Construction
public:
	CGraphDataSet();

// Attributes
public:

private :
	int xPosition;
	int yValue;

// Operations
public:
	void SetXPosition(int x);
	void SetYValue(int y);
	int GetXData();
	int GetYData();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGraphDataSet)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CGraphDataSet();

	// Generated message map functions
protected:
	//{{AFX_MSG(CGraphDataSet)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_GRAPHDATASET_H__3CBDC4C1_494F_11D5_AD40_006008198224__INCLUDED_)

⌨️ 快捷键说明

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