Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Windows;
|
---|
6 |
|
---|
7 | namespace Microsoft.Research.DynamicDataDisplay.Common
|
---|
8 | {
|
---|
9 | public static class PlotterEvents
|
---|
10 | {
|
---|
11 | internal static void Notify(FrameworkElement target, PlotterChangedEventArgs args)
|
---|
12 | {
|
---|
13 | plotterAttachedEvent.Notify(target, args);
|
---|
14 | plotterChangedEvent.Notify(target, args);
|
---|
15 | plotterDetachingEvent.Notify(target, args);
|
---|
16 | }
|
---|
17 |
|
---|
18 | private static readonly PlotterEventHelper plotterAttachedEvent = new PlotterEventHelper(Plotter.PlotterAttachedEvent);
|
---|
19 | public static PlotterEventHelper PlotterAttachedEvent
|
---|
20 | {
|
---|
21 | get { return plotterAttachedEvent; }
|
---|
22 | }
|
---|
23 |
|
---|
24 | private static readonly PlotterEventHelper plotterDetachingEvent = new PlotterEventHelper(Plotter.PlotterDetachingEvent);
|
---|
25 | public static PlotterEventHelper PlotterDetachingEvent
|
---|
26 | {
|
---|
27 | get { return plotterDetachingEvent; }
|
---|
28 | }
|
---|
29 |
|
---|
30 | private static readonly PlotterEventHelper plotterChangedEvent = new PlotterEventHelper(Plotter.PlotterChangedEvent);
|
---|
31 | public static PlotterEventHelper PlotterChangedEvent
|
---|
32 | {
|
---|
33 | get { return plotterChangedEvent; }
|
---|
34 | }
|
---|
35 | }
|
---|
36 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.