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

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

            _gitUiCommands.RepoChangedNotifier.Notify();
        }
示例#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();
        }