예제 #1
0
 private void OnErrorReceived(object sender, ErrorEventArgs e)
 {
     if (this.Dispatcher.CheckAccess())
     {
         RichTextBoxExHost.Child.Text += e.Data + Environment.NewLine;
     }
     else
         this.Dispatcher.Invoke(new Action<object, ErrorEventArgs>(OnErrorReceived), sender, e);
 }
예제 #2
0
 private void OnErrorReceived(object sender, ErrorEventArgs e)
 {
     OnResultsReceived(new ResultEventArgs(_definition.GetResultsForLine(e.Data)));
 }