📄 graphdataset.cpp
字号:
//GraphDataSet.h - Version 3.0 (Brian Convery, May, 2001)
// GraphDataSet.cpp : implementation file
//
#include "stdafx.h"
#include "GraphDataSet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGraphDataSet
CGraphDataSet::CGraphDataSet()
{
xPosition = 0;
yValue = 0;
}
CGraphDataSet::~CGraphDataSet()
{
}
BEGIN_MESSAGE_MAP(CGraphDataSet, CStatic)
//{{AFX_MSG_MAP(CGraphDataSet)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGraphDataSet message handlers
void CGraphDataSet::SetXPosition(int x)
{
xPosition = x;
}
void CGraphDataSet::SetYValue(int y)
{
yValue = y;
}
int CGraphDataSet::GetXData()
{
return xPosition;
}
int CGraphDataSet::GetYData()
{
return yValue;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -