예제 #1
0
 /// <summary>
 /// Open the Logging Console when the Console icon is clicked.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Toolbar_Console_Click(object sender, RoutedEventArgs e)
 {
     if (_loggingConsole == null)
     {
         _loggingConsole         = new LoggingConsole();
         _loggingConsole.Closed += Console_Closed;
         _loggingConsole.Owner   = MainWindow._topWindow;
         _loggingConsole.Show();
     }
 }
예제 #2
0
 /// <summary>
 /// Set our reference to the Logging Console to null if it is closed.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Console_Closed(object sender, EventArgs e)
 {
     _loggingConsole = null;
 }
예제 #3
0
 /// <summary>
 /// Open the Logging Console when the Console icon is clicked.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Toolbar_Console_Click(object sender, RoutedEventArgs e)
 {
     if (_loggingConsole == null)
     {
         _loggingConsole = new LoggingConsole();
         _loggingConsole.Closed += Console_Closed;
         _loggingConsole.Owner = MainWindow._topWindow;
         _loggingConsole.Show();
     }
 }
예제 #4
0
 /// <summary>
 /// Set our reference to the Logging Console to null if it is closed.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Console_Closed(object sender, EventArgs e)
 {
     _loggingConsole = null;
 }