private void OnPruneCompleted(PruneCompletedEventArgs e) { var notification = new ReferencesChangedNotification(e.Changes) { Text = e.Remote == null ? Resources.StrPrune : Resources.StrPrune + ": " + e.Remote.Name, }; PopupsStack.PushNotification(notification); }
private void OnPruneCompleted(object sender, PruneCompletedEventArgs e) { if (_guiProvider.Environment.InvokeRequired) { _guiProvider.Environment.BeginInvoke( new Action <PruneCompletedEventArgs>(OnPruneCompleted), new object[] { e }); } else { OnPruneCompleted(e); } }
private void OnPruneCompleted(PruneCompletedEventArgs e) { var notification = new ReferencesChangedNotification(e.Changes) { Text = e.Remote == null ? Resources.StrPrune : Resources.StrPrune + ": " + e.Remote.Name, }; PopupsStack.PushNotification(notification); }
private void OnPruneCompleted(object sender, PruneCompletedEventArgs e) { if(_guiProvider.Environment.InvokeRequired) { _guiProvider.Environment.BeginInvoke( new Action<PruneCompletedEventArgs>(OnPruneCompleted), new object[] { e }); } else { OnPruneCompleted(e); } }