📄 graphdataobject.cs
字号:
// Disclaimer and Copyright Information
// GraphDataObject.cs :
//
// All rights reserved.
//
// Written by Pardesi Services, LLC
// Version 1.01
//
// Distribute freely, except: don't remove our name from the source or
// documentation (don't take credit for my work), mark your changes (don't
// get me blamed for your possible bugs), don't alter or remove this
// notice.
// No warrantee of any kind, express or implied, is included with this
// software; use at your own risk, responsibility for damages (if any) to
// anyone resulting from the use of this software rests entirely with the
// user.
//
// Send bug reports, bug fixes, enhancements, requests, flames, etc. to
// softomatix@CommonComponent.com
///////////////////////////////////////////////////////////////////////////////
//
using System;
namespace CommonComponent.CommonChart
{
/// <summary>
///
/// </summary>
public class GraphDataObject
{
protected float m_fX;
protected float m_fY;
public GraphDataObject()
{
//
// TODO: Add constructor logic here
//
m_fX = 0.0F;
m_fY = 0.0F;
}
/// <summary>
///
/// </summary>
/// <param name="x"></param>
/// <param name="y"></param>
public GraphDataObject(float x, float y)
{
m_fX = x;
m_fY = y;
}
/// <summary>
///
/// </summary>
public float X
{
get{return this.m_fX;}
set{this.m_fX = value;}
}
/// <summary>
///
/// </summary>
public float Y
{
get{return this.m_fY;}
set{this.m_fY = value;}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -