private void OnActivationCompleted(ActivationCompletedEventArgs e) { if (ActivationCompleted != null) { ActivationCompleted(this, e); } }
private void fileCopyer_FileCopyCompleted(object sender, FileCopyCompletedEventArgs e) { Clear(); try { updateCfgView.Version = e.Manifest.Version; } catch { } if (ActivationCompleted != null) { ActivationCompletedEventArgs evt = new ActivationCompletedEventArgs(e.Error, e.Cancelled, e.UserState); evt.Manifest = e.Manifest; OnActivationCompleted(evt); } }