예제 #1
0
 public void ShowLogWindow()
 {
     if (this.logWindow == null)
     {
         this.logWindow = new LogWindow();
         this.logWindow.Closed += new EventHandler(this.logWindow_Closed);
         this.logWindow.Bind(this.logInformation);
     }
     this.logWindow.Show();
 }
예제 #2
0
 private void logWindow_Closed(object sender, EventArgs e)
 {
     this.logWindow.Closed -= new EventHandler(this.logWindow_Closed);
     this.logWindow = null;
 }