public void MessageHandler(object sender, MessageEventArgs args)
 {
     WriteToOutputString(args.Message);
 }
 public void TargetMessageHandler(object sender, MessageEventArgs args)
 {
     //MessageEvent(args.Message);
 }
 public void MessageEvent(string msg)
 {
     MessageEventArgs arg = new MessageEventArgs(msg);
     Task.Factory.StartNew(() => CharacterMessage(this, arg));
 }
 public void MessageHandler(object sender, MessageEventArgs args)
 {
     Task.Factory.StartNew(() => Message(this, args));
 }