Example #1
0
 private void InvokeOutputRecievedEvent(OutputRecievedEvent e)
 {
     EventHandler<OutputRecievedEvent> handler = OutputRecievedEvent;
     if (handler != null) handler(this, e);
 }
 void OnOutputRecievedEvent(object sender, OutputRecievedEvent e)
 {
     Console.Write(e.Output + "\n");
 }