示例#1
0
文件: Core.cs 项目: qkostal/program
        private void NewMessage(object sender, NewMessageEventArgs e)
        {
            Console.WriteLine(e.message);

            if (OnNewMessage != null)
                OnNewMessage(null, e);
        }
示例#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);
 }