private void OnControllerMessageLogSent(object sender, MessageLogSentArgs _args)
        {
            Application.Invoke(sender, _args,
                               delegate(object resender, EventArgs a)
            {
                MessageLogSentArgs args = a as MessageLogSentArgs;

                MainRecognizerWindow.Log(args.Message);
            });
        }
 /// <summary>
 /// Shows a message sent by the controller in the log area.
 /// </summary>
 /// <param name="sender">
 /// A <see cref="System.Object"/>
 /// </param>
 /// <param name="args">
 /// A <see cref="MessageLogSentArgs"/>
 /// </param>
 protected void OnControllerMessageLogSent(object sender,
                                           MessageLogSentArgs args)
 {
     // Llamamos a través de invoke para que funcione bien.
     Gtk.Application.Invoke(sender,
                            args,
                            delegate(object resender, EventArgs a)
     {
         Log(((MessageLogSentArgs)a).Message);
     });
 }
 private void OnMatcherLogSent(object sender, MessageLogSentArgs args)
 {
     this.MessageLogSentInvoker(args.Message);
 }