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