Beispiel #1
0
 private void WriteWarning(object sender, WarningEventArgs e)
 {
     if (cb_warning.Checked)
     {
         AppendText("Warning: " + e.Message, Color.Orange);
     }
 }
Beispiel #2
0
 private static void RaiseWarningEvent(WarningEventArgs e)
 {
     WarningEvent?.Invoke(typeof(ConsoleUtil), e);
 }