当前位置: 首页>>代码示例>>C#>>正文


C# GitUI.GitUICommands类代码示例

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


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


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