Esempio n. 1
0
 private void StatusLog_NewLogEntryEventHandler(object sender, NewLogEntryEvent e)
 {
     if (status.InvokeRequired)
     {
         status.Invoke(new Action(() => {
             status.Text      = e.Entry;
             status.ForeColor = e.Color;
         }));
     }
     else
     {
         status.Text      = e.Entry;
         status.ForeColor = e.Color;
     }
 }
 private void MesgLogOnNewLogEntryEventHandler(object sender, NewLogEntryEvent newLogEntryEvent)
 {
     Config.LogBox += Config.Status = newLogEntryEvent.Entry;
     Config.RaisePropertyChangedEvent("LogBox");
     Config.RaisePropertyChangedEvent("Status");
 }
Esempio n. 3
0
 private void MesgLog_NewLogEntryEventHandler(object sender, NewLogEntryEvent e)
 {
     outputTextbox.AppendText(e.Entry, e.Color);
 }