コード例 #1
0
 void _server_Output(Mercury.MercuryOutputEventArgs output)
 {
     listBox1.Invoke(new Action(delegate { listBox1.Items.Add(output.Output); listBox1.SelectedIndex = listBox1.Items.Count - 1; }));
 }
コード例 #2
0
ファイル: Entry.cs プロジェクト: formlesstree4/pokemon-azure
 public void MercuryLoggingRoutine(Mercury.MercuryOutputEventArgs e)
 {
     WriteEventEntry(e.Output, EventLogEntryType.Information, 0, 0);
 }