Index: src/Common/DelftTools.Controls.Swf/Charting/Tools/PointEventArgs.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/DelftTools.Controls.Swf/Charting/Tools/PointEventArgs.cs (.../PointEventArgs.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/Common/DelftTools.Controls.Swf/Charting/Tools/PointEventArgs.cs (.../PointEventArgs.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -6,47 +6,27 @@ public class PointEventArgs : CancelEventArgs { - private IChartSeries series; - private int index; - private double x; - private double y; - public PointEventArgs(IChartSeries series, int index, double x, double y) { - this.series = series; - this.index = index; - this.x = x; - this.y = y; + Series = series; + Index = index; + X = x; + Y = y; } - public IChartSeries Series - { - get { return series; } - } + public IChartSeries Series { get; private set; } - public int Index - { - get { return index; } - } + public int Index { get; private set; } - public double X - { - get { return x; } - } + public double X { get; private set; } - public double Y - { - get { return y; } - } + public double Y { get; private set; } } public class HoverPointEventArgs : PointEventArgs { - public HoverPointEventArgs(IChartSeries series, int index, double x, double y, bool entering) : base(series, index, x, y) - { - } + public HoverPointEventArgs(IChartSeries series, int index, double x, double y, bool entering) : base(series, index, x, y) {} public bool Entering { get; set; } } - } \ No newline at end of file