• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# GitUI.GitUICommands类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中GitUI.GitUICommands的典型用法代码示例。如果您正苦于以下问题:C# GitUICommands类的具体用法?C# GitUICommands怎么用?C# GitUICommands使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



GitUICommands类属于GitUI命名空间,在下文中一共展示了GitUICommands类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: FormRebase

 private FormRebase(GitUICommands aCommands)
     : base(aCommands)
 {
     InitializeComponent();
     Translate();
     helpImageDisplayUserControl1.Visible = !Settings.DontShowHelpImages;
 }
开发者ID:bergerjac,项目名称:gitextensions,代码行数:7,代码来源:FormRebase.cs


示例2: FormResetCurrentBranch

        public FormResetCurrentBranch(GitUICommands aCommands, GitRevision Revision)
            : base(aCommands)
        {
            this.Revision = Revision;

            InitializeComponent(); Translate();
        }
开发者ID:robin521111,项目名称:gitextensions,代码行数:7,代码来源:FormResetCurrentBranch.cs


示例3: StartBrowseForm

        public static FormBrowse StartBrowseForm(GitUICommands commands, Form form)
        {
            if (instance == null)
                instance = commands.StartBrowseForm(form, "", run: false);

            return instance;
        }
开发者ID:akrisiun,项目名称:gitextensions,代码行数:7,代码来源:TestStatic.cs


示例4: FormBranchSmall

 public FormBranchSmall(GitUICommands aCommands, string startPoint = null)
     : base(aCommands)
 {
     _startPoint = startPoint;
     InitializeComponent();
     Translate();
 }
开发者ID:bergerjac,项目名称:gitextensions,代码行数:7,代码来源:FormBranchSmall.cs


示例5: FormSvnClone

 public FormSvnClone(GitUICommands aCommands, GitModuleChangedEventHandler GitModuleChanged)
     : base(aCommands)
 {
     this.GitModuleChanged = GitModuleChanged;
     InitializeComponent();
     this.Translate();
 }
开发者ID:Rdot,项目名称:gitextensions,代码行数:7,代码来源:FormSvnClone.cs


示例6: ViewPatch

        public ViewPatch(GitUICommands aCommands)
            : base(aCommands)
        {
            InitializeComponent(); Translate();

            PatchManager = new PatchManager();
        }
开发者ID:robin521111,项目名称:gitextensions,代码行数:7,代码来源:FormViewPatch.cs


示例7: FormCommit_Form1

        public void FormCommit_Form1()
        {
            app = new ApplicationContext();
            var currentDir = Directory.GetCurrentDirectory();
            string[] args = new string[] { "", "", currentDir };    // GitExtensionsTest\bin\Debug
            if (args[2].EndsWith(@"bin\Debug"))
                args[2] = Path.GetFullPath(currentDir + @"\..\..\..");

            var dir = RevisionGridTest.GetWorkingDir(args);
            Directory.SetCurrentDirectory(dir);

            GitUICommands uCommands = new GitUICommands(dir);

            Form = new FormCommitTest(uCommands);

            Unstaged = Form.ListUnstaged;
            Staged = Form.ListStaged;

            app.MainForm = Form;

            var browseForm = TestStatic.StartBrowseForm(uCommands, Form);

            Form.LoadModule(browseForm.Module);

            this.Unstaged.Subscribe();
            this.Staged.Subscribe();

            Form.Shown += Form_Shown;

            Form.Show();

            Application.Run(app);
        }
开发者ID:akrisiun,项目名称:gitextensions,代码行数:33,代码来源:CommitFormTest.cs


示例8: FormApplyPatch

 public FormApplyPatch(GitUICommands aCommands)
     : base(true, aCommands)
 {
     InitializeComponent(); Translate();
     if (aCommands != null)
         EnableButtons();
 }
开发者ID:robin521111,项目名称:gitextensions,代码行数:7,代码来源:FormApplyPatch.cs


示例9: FormAddFiles

 public FormAddFiles(GitUICommands aCommands, string addFile)
     : base(aCommands)
 {
     InitializeComponent();
     Translate();
     Filter.Text = addFile ?? ".";
 }
开发者ID:bergerjac,项目名称:gitextensions,代码行数:7,代码来源:FormAddFiles.cs


示例10: FormSubmodules

 public FormSubmodules(GitUICommands aCommands)
     : base(aCommands)
 {
     InitializeComponent();
     Translate();
     gitSubmoduleBindingSource.DataSource = modules;
 }
开发者ID:robin521111,项目名称:gitextensions,代码行数:7,代码来源:FormSubmodules.cs


示例11: FormSettings

        public FormSettings(GitUICommands aCommands, SettingsPageReference initalPage = null)
            : base(aCommands)
        {
            InitializeComponent();
            Translate();

            _initalPage = initalPage;

            //if form is created for translation purpose
            if (aCommands == null)
                return;

            // NEW:

            _commonLogic = new CommonLogic(Module);

            _checkSettingsLogic = new CheckSettingsLogic(_commonLogic, Module);
            _checklistSettingsPage = new ChecklistSettingsPage(_commonLogic, _checkSettingsLogic, Module, this);
            _checkSettingsLogic.ChecklistSettingsPage = _checklistSettingsPage; // TODO
            _settingsPageRegistry.RegisterSettingsPage(_checklistSettingsPage);

            _gitSettingsPage = new GitSettingsPage(_checkSettingsLogic, this);
            _settingsPageRegistry.RegisterSettingsPage(_gitSettingsPage);

            _gitExtensionsSettingsPage = new GitExtensionsSettingsPage();
            _settingsPageRegistry.RegisterSettingsPage(_gitExtensionsSettingsPage);

            _appearanceSettingsPage = new AppearanceSettingsPage();
            _settingsPageRegistry.RegisterSettingsPage(_appearanceSettingsPage);

            _colorsSettingsPage = new ColorsSettingsPage();
            _settingsPageRegistry.RegisterSettingsPage(_colorsSettingsPage);

            _startPageSettingsPage = new StartPageSettingsPage();
            _settingsPageRegistry.RegisterSettingsPage(_startPageSettingsPage);

            _globalSettingsSettingsPage = new GlobalSettingsSettingsPage(_commonLogic, _checkSettingsLogic, Module);
            _settingsPageRegistry.RegisterSettingsPage(_globalSettingsSettingsPage);

            _localSettingsSettingsPage = new LocalSettingsSettingsPage(_commonLogic, _checkSettingsLogic, Module);
            _settingsPageRegistry.RegisterSettingsPage(_localSettingsSettingsPage);

            _sshSettingsPage = new SshSettingsPage();
            _settingsPageRegistry.RegisterSettingsPage(_sshSettingsPage);
            _checklistSettingsPage.SshSettingsPage = _sshSettingsPage;

            _scriptsSettingsPage = new ScriptsSettingsPage();
            _settingsPageRegistry.RegisterSettingsPage(_scriptsSettingsPage);

            _hotkeysSettingsPage = new HotkeysSettingsPage();
            _settingsPageRegistry.RegisterSettingsPage(_hotkeysSettingsPage);

            _shellExtensionSettingsPage = new ShellExtensionSettingsPage();
            _settingsPageRegistry.RegisterSettingsPage(_shellExtensionSettingsPage);

            // register all plugin pages
            _settingsPageRegistry.RegisterPluginSettingsPages();

            settingsTreeViewUserControl1.SetSettingsPages(_settingsPageRegistry, _initalPage);
        }
开发者ID:sabby62,项目名称:gitextensions,代码行数:60,代码来源:FormSettings.cs


示例12: FormDeleteBranch

 public FormDeleteBranch(GitUICommands aCommands, string defaultBranch)
     : base(aCommands)
 {
     InitializeComponent();
     Translate();
     _defaultBranch = defaultBranch;
 }
开发者ID:robin521111,项目名称:gitextensions,代码行数:7,代码来源:FormDeleteBranch.cs


示例13: FormGoToCommit

 public FormGoToCommit(GitUICommands aCommands)
     : base(aCommands)
 {
     InitializeComponent();
     Translate();
     tagsLoader = new AsyncLoader();
 }
开发者ID:Rdot,项目名称:gitextensions,代码行数:7,代码来源:FormGoToCommit.cs


示例14: FormRevertCommitSmall

        public FormRevertCommitSmall(GitUICommands aCommands, GitRevision Revision)
            : base(aCommands)
        {
            this.Revision = Revision;

            InitializeComponent(); Translate();
        }
开发者ID:rudisherry666,项目名称:gitextensions,代码行数:7,代码来源:FormRevertCommitSmall.cs


示例15: FormRevert

 public FormRevert(GitUICommands aCommands, string fileName)
     : base(aCommands)
 {
     this.fileName = fileName;
     InitializeComponent();
     Translate();
 }
开发者ID:robin521111,项目名称:gitextensions,代码行数:7,代码来源:FormRevert.cs


示例16: FormCherryPick

        public FormCherryPick(GitUICommands aCommands, GitRevision revision)
            : base(aCommands)
        {
            Revision = revision;
            InitializeComponent();

            Translate();
        }
开发者ID:robin521111,项目名称:gitextensions,代码行数:8,代码来源:FormCherryPick.cs


示例17: FormAddToGitIgnore

 public FormAddToGitIgnore(GitUICommands aCommands, params string[] filePatterns)
     : base(aCommands)
 {
     InitializeComponent();
     Translate();
     if (filePatterns != null)
         FilePattern.Text = string.Join(Environment.NewLine, filePatterns);
 }
开发者ID:robin521111,项目名称:gitextensions,代码行数:8,代码来源:FormAddToGitIgnore.cs


示例18: FormRenameBranch

 public FormRenameBranch(GitUICommands aCommands, string defaultBranch)
     : base(aCommands)
 {
     InitializeComponent();
     Translate();
     Branches.Text = defaultBranch;
     oldName = defaultBranch;
 }
开发者ID:robin521111,项目名称:gitextensions,代码行数:8,代码来源:FormRenameBranch.cs


示例19: FormFileHistory

 internal FormFileHistory(GitUICommands aCommands)
     : base(aCommands)
 {
     InitializeComponent();
     syncContext = SynchronizationContext.Current;
     filterBranchHelper = new FilterBranchHelper(toolStripBranches, toolStripDropDownButton2, FileChanges);
     filterRevisionsHelper = new FilterRevisionsHelper(toolStripTextBoxFilter, toolStripDropDownButton1, FileChanges, toolStripLabel2, this);
 }
开发者ID:semi836,项目名称:gitextensions,代码行数:8,代码来源:FormFileHistory.cs


示例20: FormDiff

        public FormDiff(GitUICommands aCommands)
            : base(true, aCommands)
        {
            InitializeComponent();
            Translate();

            diffViewer.ExtraDiffArgumentsChanged += DiffViewerExtraDiffArgumentsChanged;
        }
开发者ID:Rdot,项目名称:gitextensions,代码行数:8,代码来源:FormDiff.cs



注:本文中的GitUI.GitUICommands类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# GitUI.GitUIEventArgs类代码示例发布时间:2022-05-26
下一篇:
C# GitUI.FormStatus类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap