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