Rev | Line | |
---|
[12503] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using System.Windows;
|
---|
| 6 | using System.Windows.Input;
|
---|
| 7 |
|
---|
| 8 | namespace Microsoft.Research.DynamicDataDisplay.Common
|
---|
| 9 | {
|
---|
| 10 | public class PlotterChangedEventArgs : RoutedEventArgs
|
---|
| 11 | {
|
---|
| 12 | public PlotterChangedEventArgs(Plotter prevPlotter, Plotter currPlotter, RoutedEvent routedEvent) : base(routedEvent)
|
---|
| 13 | {
|
---|
| 14 | if (prevPlotter == null && currPlotter == null) {
|
---|
| 15 | throw new ArgumentException("Both Plotters cannot be null.");
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | this.prevPlotter = prevPlotter;
|
---|
| 19 | this.currPlotter = currPlotter;
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | private readonly Plotter prevPlotter;
|
---|
| 23 | public Plotter PreviousPlotter { get { return prevPlotter; } }
|
---|
| 24 |
|
---|
| 25 | private readonly Plotter currPlotter;
|
---|
| 26 | public Plotter CurrentPlotter { get { return currPlotter; } }
|
---|
| 27 | }
|
---|
| 28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.