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


C# GitModuleChangedEventHandler类代码示例

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


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

示例1: FormSvnClone

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

示例2: ForkAndCloneForm

 public ForkAndCloneForm(IRepositoryHostPlugin gitHoster, GitModuleChangedEventHandler GitModuleChanged)
 {
     this.GitModuleChanged = GitModuleChanged;
     _gitHoster = gitHoster;
     InitializeComponent();
     Translate();
 }
开发者ID:feinstaub,项目名称:gitextensions,代码行数:7,代码来源:ForkAndCloneForm.cs

示例3: FormInit

 public FormInit(string dir, GitModuleChangedEventHandler GitModuleChanged)
 {
     this.GitModuleChanged = GitModuleChanged;
     InitializeComponent();
     Translate();
     Directory.Text = dir;
 }
开发者ID:feinstaub,项目名称:gitextensions,代码行数:7,代码来源:FormInit.cs

示例4: FormClone

 public FormClone(GitUICommands aCommands, string url, bool openedFromProtocolHandler, GitModuleChangedEventHandler GitModuleChanged)
     : base(aCommands)
 {
     this.GitModuleChanged = GitModuleChanged;
     InitializeComponent();
     Translate();
     this.openedFromProtocolHandler = openedFromProtocolHandler;
     this.url = url;
 }
开发者ID:renpan,项目名称:gitextensions,代码行数:9,代码来源:FormClone.cs

示例5: FormInit

        public FormInit(string dir, GitModuleChangedEventHandler GitModuleChanged)
        {
            this.GitModuleChanged = GitModuleChanged;
            InitializeComponent();
            Translate();

            if (string.IsNullOrEmpty(dir))
            {
                Directory.Text = AppSettings.DefaultCloneDestinationPath;
            }
            else
            {
                Directory.Text = dir;
            }
        }
开发者ID:PaulGardens,项目名称:gitextensions,代码行数:15,代码来源:FormInit.cs

示例6: StartCloneForkFromHoster

 public void StartCloneForkFromHoster(IWin32Window owner, IRepositoryHostPlugin gitHoster, GitModuleChangedEventHandler GitModuleChanged)
 {
     WrapRepoHostingCall("View pull requests", gitHoster, gh =>
     {
         using (var frm = new ForkAndCloneForm(gitHoster, GitModuleChanged)) frm.ShowDialog(owner);
     });
 }
开发者ID:Copro,项目名称:gitextensions,代码行数:7,代码来源:GitUICommands.cs

示例7: StartCloneDialog

 public bool StartCloneDialog(IWin32Window owner, string url, GitModuleChangedEventHandler GitModuleChanged)
 {
     return StartCloneDialog(owner, url, false, GitModuleChanged);
 }
开发者ID:Copro,项目名称:gitextensions,代码行数:4,代码来源:GitUICommands.cs

示例8: StartSvnCloneDialog

        public bool StartSvnCloneDialog(IWin32Window owner, GitModuleChangedEventHandler GitModuleChanged)
        {
            Func<bool> action = () =>
            {
                using (var form = new FormSvnClone(this, GitModuleChanged))
                    form.ShowDialog(owner);
                return true;
            };

            return DoActionOnRepo(owner, false, false, PreSvnClone, PostSvnClone, action);
        }
开发者ID:Copro,项目名称:gitextensions,代码行数:11,代码来源:GitUICommands.cs

示例9: StartInitializeDialog

        public bool StartInitializeDialog(IWin32Window owner, string dir, GitModuleChangedEventHandler GitModuleChanged)
        {
            Func<bool> action = () =>
            {
                if (dir == null)
                    dir = Module.IsValidGitWorkingDir() ? Module.WorkingDir : string.Empty;
                using (var frm = new FormInit(dir, GitModuleChanged)) frm.ShowDialog(owner);
                return true;
            };

            return DoActionOnRepo(owner, false, true, PreInitialize, PostInitialize, action);
        }
开发者ID:Copro,项目名称:gitextensions,代码行数:12,代码来源:GitUICommands.cs

示例10: StartInitializeDialog

        public bool StartInitializeDialog(IWin32Window owner, string dir, GitModuleChangedEventHandler GitModuleChanged)
        {
            if (!InvokeEvent(owner, PreInitialize))
                return true;

            using (var frm = new FormInit(dir, GitModuleChanged)) frm.ShowDialog(owner);

            InvokeEvent(owner, PostInitialize);

            return true;
        }
开发者ID:JakeGinnivan,项目名称:gitextensions,代码行数:11,代码来源:GitUICommands.cs

示例11: StartCloneDialog

        public bool StartCloneDialog(IWin32Window owner, string url, bool openedFromProtocolHandler, GitModuleChangedEventHandler GitModuleChanged)
        {
            if (!InvokeEvent(owner, PreClone))
                return false;

            using (var form = new FormClone(this, url, openedFromProtocolHandler, GitModuleChanged))
                form.ShowDialog(owner);

            InvokeEvent(owner, PostClone);

            return true;
        }
开发者ID:JakeGinnivan,项目名称:gitextensions,代码行数:12,代码来源:GitUICommands.cs

示例12: StartSvnCloneDialog

        public bool StartSvnCloneDialog(IWin32Window owner, GitModuleChangedEventHandler GitModuleChanged)
        {
            if (!InvokeEvent(owner, PreSvnClone))
                return false;

            using (var form = new FormSvnClone(this, GitModuleChanged))
                form.ShowDialog(owner);

            InvokeEvent(owner, PostSvnClone);

            return true;
        }
开发者ID:JakeGinnivan,项目名称:gitextensions,代码行数:12,代码来源:GitUICommands.cs


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