void publishMenuItem_Click(object sender, EventArgs e) { using (var form = new FormGerritPublish(_gitUiCommands)) { form.ShowDialog(_mainForm); } _gitUiCommands.RaiseBrowseInitialize(); }
void publishMenuItem_Click(object sender, EventArgs e) { using (var form = new FormGerritPublish(_gitUiCommands)) { form.ShowDialog(_mainForm); } _gitUiCommands.RepoChangedNotifier.Notify(); }
private void publishMenuItem_Click(object sender, EventArgs e) { var capabilities = _predefinedGerritVersion.ValueOrDefault(Settings) == DefaultGerritVersion ? GerritCapabilities.Version2_15 : GerritCapabilities.OldestVersion; using (var form = new FormGerritPublish(_gitUiCommands, capabilities)) { form.ShowDialog(_mainForm); } _gitUiCommands.RepoChangedNotifier.Notify(); }