Example #1
0
 /// <summary>
 ///   Display the tracking debug window to the user. If an instance of the windows
 ///   is already shown, it will pop it back to front.
 /// </summary>
 public static void Display() {
   if (_tracker != null)
     _tracker.Activate();
   else {
     _tracker = new InstanceTracker();
     _tracker.Show();
   }
 }
Example #2
0
 private void InstanceTracker_Closed(object sender, EventArgs e) {
   _tracker.Dispose();
   _tracker = null;
 }