Example #1
0
 private void Window_Closed(object sender, EventArgs e)
 {
     //Set the HttpDebugWindow instance to null if it got closed.
     if (HttpDebugWindow != null && HttpDebugWindow.Equals(this))
     {
         HttpDebugWindow = null;
     }
 }
Example #2
0
 /// <summary>
 /// Opens the HttpDebugWindow if not already opened. If opened bring it to the foreground.
 /// </summary>
 public static void Open()
 {
     if (HttpDebugWindow == null)
     {
         HttpDebugWindow = new Window_GSIHttpDebug();
         HttpDebugWindow.Show();
     }
     else
     {
         HttpDebugWindow.Activate();
     }
 }
 private void btnShowGSILog_Click(object sender, RoutedEventArgs e) => Window_GSIHttpDebug.Open();