private void Logger_LogChanged(object sender, LogChangedEventArgs e) { Invoke(new Action(() => { logTextBox.AppendText(e.Msg); logTextBox.AppendText(Environment.NewLine); })); }
protected virtual void OnLogChanged(LogChangedEventArgs e) { if (LogChanged != null) LogChanged(this, e); }