Exemplo n.º 1
0
 void _server_Output(Mercury.MercuryOutputEventArgs output)
 {
     listBox1.Invoke(new Action(delegate { listBox1.Items.Add(output.Output); listBox1.SelectedIndex = listBox1.Items.Count - 1; }));
 }
Exemplo n.º 2
0
 public void MercuryLoggingRoutine(Mercury.MercuryOutputEventArgs e)
 {
     WriteEventEntry(e.Output, EventLogEntryType.Information, 0, 0);
 }