Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/Common/PlotterEvents.cs @ 12503

Last change on this file since 12503 was 12503, checked in by aballeit, 9 years ago

#2283 added GUI and charts; fixed MCTS

File size: 1.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows;
6
7namespace 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.