/// <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(); } }
private void InstanceTracker_Closed(object sender, EventArgs e) { _tracker.Dispose(); _tracker = null; }