public override bool Execute(GitUIEventArgs args) { using var form = new ReleaseNotesGeneratorForm(args); if (form.ShowDialog(args.OwnerForm) == DialogResult.OK) { return(true); } return(false); }
public override bool Execute(GitUIBaseEventArgs gitUiCommands) { using (var form = new ReleaseNotesGeneratorForm(gitUiCommands)) { if (form.ShowDialog(gitUiCommands.OwnerForm) == DialogResult.OK) { return true; } } return false; }
////protected override void RegisterSettings() ////{ //// base.RegisterSettings(); ////} public override bool Execute(GitUIBaseEventArgs gitUiCommands) { using (var form = new ReleaseNotesGeneratorForm(Settings, gitUiCommands)) { if (form.ShowDialog(gitUiCommands.OwnerForm) == DialogResult.OK) { return(true); } } return(false); }