Exemple #1
0
        private void NewMessage(object sender, NewMessageEventArgs e)
        {
            Console.WriteLine(e.message);

            if (OnNewMessage != null)
                OnNewMessage(null, e);
        }
Exemple #2
0
 // This delegate enables asynchronous calls for setting
 // the text property on a consoleOutput1 control.
 private void NewLigniteMessageReceived(object sender, NewMessageEventArgs e)
 {
     BroadcastMessage(e.message);
 }