예제 #1
0
파일: McServer.cs 프로젝트: Ellos/McManage
 protected virtual void OnOuputReceived(OutputEventArgs e)
 {
     EventHandler<OutputEventArgs> handler = OutputReceived;
     if (handler != null) handler(this, e);
 }
예제 #2
0
 private void OnOutputReceived(object sender, OutputEventArgs e)
 {
     OnResultsReceived(new ResultEventArgs(_definition.GetResultsForLine(e.Data)));
 }
예제 #3
0
 private void OnOutputReceived(object sender, OutputEventArgs e)
 {
     if (this.Dispatcher.CheckAccess())
     {
         RichTextBoxExHost.Child.Text += e.Data + Environment.NewLine;
     }
     else
         this.Dispatcher.Invoke(new Action<object, OutputEventArgs>(OnOutputReceived), sender, e);
 }