protected virtual void OnFeUpdate(FeUpdateEventArgs e) { FeUpdate(this, e); }
private void FileExecUpdate(object sender, FeUpdateEventArgs e) { if (InvokeRequired) { execFileLog.Invoke((VoidDelegate) (() => execFileLog.AppendText("Executing \"" + e.CurrentCmd + "\"" + Environment.NewLine))); execFileLabel.Invoke((VoidDelegate) (() => execFileLabel.Text = @"Executing " + e.CurrentCmdNumber + @"/" + _cmdCount)); execFileProgress.Invoke((VoidDelegate) (() => execFileProgress.PerformStep())); } }