Beispiel #1
0
 public override void Close()
 {
     if (this.writer != null)
     {
         this.writer.Close();
     }
     this.writer = null;
     this.stop = true;
 }
Beispiel #2
0
 public RichTextBoxTraceListener(RichTextBox rtb)
     : base(string.Empty)
 {
     writer = new TraceWriter(rtb);
 }