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