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