Exemplo n.º 1
0
 /// <summary>
 /// Displays the Event Tracker window, or, if already displayed, sets
 /// focus to the window
 /// </summary>
 private void DisplayEventTracker()
 {
     if (this.eventTrackerView == null || !this.eventTrackerView.IsVisible)
     {
         this.EventsController.Start();
         this.eventTrackerView = new EventTrackerView(this.EventsController);
         this.eventTrackerView.Show();
     }
     else
     {
         this.eventTrackerView.Focus();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Displays the Event Tracker window, or, if already displayed, sets
 /// focus to the window
 /// </summary>
 public void DisplayEventsTracker()
 {
     if (this.eventTrackerView == null || !this.eventTrackerView.IsVisible)
     {
         this.eventTrackerView = new EventTrackerView();
         this.Container.ComposeParts(this.eventTrackerView);
         this.eventTrackerView.Show();
     }
     else
     {
         this.eventTrackerView.Focus();
     }
 }