Exemplo n.º 1
0
        void publishMenuItem_Click(object sender, EventArgs e)
        {
            using (var form = new FormGerritPublish(_gitUiCommands))
            {
                form.ShowDialog(_mainForm);
            }

            _gitUiCommands.RaiseBrowseInitialize();
        }
Exemplo n.º 2
0
        void publishMenuItem_Click(object sender, EventArgs e)
        {
            using (var form = new FormGerritPublish(_gitUiCommands))
            {
                form.ShowDialog(_mainForm);
            }

            _gitUiCommands.RepoChangedNotifier.Notify();
        }
Exemplo n.º 3
0
        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();
        }