// Fire the Event private void OnActionProgressChanged(object sender, ActionProgressEventArgs <int> args) { // Check if there are any Subscribers if (ActionProgressChanged != null) { // Call the Event ActionProgressChanged(sender, args); } }
// Fire the Event private void OnPrerequisiteComplete(object sender, ActionProgressEventArgs <bool> args) { // Check if there are any Subscribers if (PrerequisiteComplete != null) { // Call the Event PrerequisiteComplete(sender, args); } }
void action_Complete(object sender, ActionProgressEventArgs <bool> e) { OnPrerequisiteComplete(sender, e); }
void action_ProgressChanged(object sender, ActionProgressEventArgs <int> e) { // Action progress has been changed UpdateActionProgress(e.StatusMessage, e.EventData, e.Indeterminate); }
void process_ProgressChange(object sender, ActionProgressEventArgs <int> e) { OnInstallProgressChanged(ExecuteProgressMessage, e.EventData); }