aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/EventArguments
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/EventArguments')
-rw-r--r--Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/EventArguments/RangeChangedEventArgs.cs58
1 files changed, 58 insertions, 0 deletions
diff --git a/Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/EventArguments/RangeChangedEventArgs.cs b/Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/EventArguments/RangeChangedEventArgs.cs
new file mode 100644
index 000000000..15d5bb7ba
--- /dev/null
+++ b/Software/Visual_Studio/SideChains/RealTimeGraphXNet/RealTimeGraphX/EventArguments/RangeChangedEventArgs.cs
@@ -0,0 +1,58 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace RealTimeGraphX.EventArguments
+{
+ /// <summary>
+ /// Represents a graph range change event arguments.
+ /// </summary>
+ /// <seealso cref="System.EventArgs" />
+ public class RangeChangedEventArgs : EventArgs
+ {
+ /// <summary>
+ /// Gets or sets the minimum x value.
+ /// </summary>
+ public GraphDataPoint MinimumX { get; set; }
+
+ /// <summary>
+ /// Gets or sets the maximum x value.
+ /// </summary>
+ public GraphDataPoint MaximumX { get; set; }
+
+ /// <summary>
+ /// Gets or sets the minimum y value.
+ /// </summary>
+ public GraphDataPoint MinimumY { get; set; }
+
+ /// <summary>
+ /// Gets or sets the maximum y value.
+ /// </summary>
+ public GraphDataPoint MaximumY { get; set; }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="RangeChangedEventArgs"/> class.
+ /// </summary>
+ public RangeChangedEventArgs()
+ {
+
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="RangeChangedEventArgs"/> class.
+ /// </summary>
+ /// <param name="minimumX">The minimum x value.</param>
+ /// <param name="maximumX">The maximum x value.</param>
+ /// <param name="minimumY">The minimum y value.</param>
+ /// <param name="maximumY">The maximum y value.</param>
+ public RangeChangedEventArgs(GraphDataPoint minimumX, GraphDataPoint maximumX,GraphDataPoint minimumY,GraphDataPoint maximumY) : this()
+ {
+ MinimumX = minimumX;
+ MaximumX = maximumX;
+ MinimumY = minimumY;
+ MaximumY = maximumY;
+ }
+ }
+}