Ejemplo n.º 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;
     }
 }
Ejemplo n.º 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();
     }
 }
Ejemplo n.º 3
0
 private void btnShowGSILog_Click(object sender, RoutedEventArgs e) => Window_GSIHttpDebug.Open();