private void OpenRemotesDialogAndRefreshList(string selectedRemoteName) { if (!UICommands.StartRemotesDialog(this, selectedRemoteName)) { return; } _remoteManager.LoadRemotes(false); BindRemotesDropDown(selectedRemoteName); }
private void AddRemoteClick(object sender, EventArgs e) { UICommands.StartRemotesDialog(this, _NO_TRANSLATE_Remotes.Text); string origText = _NO_TRANSLATE_Remotes.Text; _NO_TRANSLATE_Remotes.DataSource = Module.GetRemotes(); if (_NO_TRANSLATE_Remotes.Items.Contains(origText)) // else first item gets selected { _NO_TRANSLATE_Remotes.Text = origText; } }
private void AddRemoteClick(object sender, EventArgs e) { // store the selected remote name string selectedRemoteName = _selectedRemote.Name; // launch remote management dialog UICommands.StartRemotesDialog(this, selectedRemoteName); // coming back from the dialog, update the remotes list _gitRemoteController.LoadRemotes(); BindRemotesDropDown(selectedRemoteName); }
private void AddRemoteClick(object sender, EventArgs e) { if (IsPullAll()) { UICommands.StartRemotesDialog(this); } else { var selectedRemote = _NO_TRANSLATE_Remotes.Text; UICommands.StartRemotesDialog(this, selectedRemote); } _bInternalUpdate = true; string origText = _NO_TRANSLATE_Remotes.Text; BindRemotesDropDown(origText); _bInternalUpdate = false; }
private void AddRemoteClick(object sender, EventArgs e) { if (IsPullAll()) { UICommands.StartRemotesDialog(this); } else { var selectedRemote = _NO_TRANSLATE_Remotes.Text; UICommands.StartRemotesDialog(this, selectedRemote); } bInternalUpdate = true; string origText = _NO_TRANSLATE_Remotes.Text; UpdateRemotesList(); if (_NO_TRANSLATE_Remotes.Items.Contains(origText)) // else first item gets selected { _NO_TRANSLATE_Remotes.Text = origText; } bInternalUpdate = false; }
private void AddRemoteClick(object sender, EventArgs e) { UICommands.StartRemotesDialog(); _NO_TRANSLATE_Remotes.DataSource = Module.GetRemotes(true); }
private void PopupManageRemotesForm(string remoteName) { UICommands.StartRemotesDialog(this, remoteName); }
internal void PopupManageRemotesForm(string remoteName) { UICommands.StartRemotesDialog(TreeViewNode.TreeView, remoteName); }