Inheritance: GitExtensionsForm
示例#1
0
        public bool StartEditGitIgnoreDialog()
        {
            if (!InvokeEvent(PreEditGitIgnore))
            {
                return(true);
            }

            var form = new FormGitIgnore();

            form.ShowDialog();

            InvokeEvent(PostEditGitIgnore);

            return(false);
        }
示例#2
0
        public bool StartEditGitIgnoreDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
            {
                return(false);
            }

            if (!InvokeEvent(owner, PreEditGitIgnore))
            {
                return(true);
            }

            using (var form = new FormGitIgnore())
                form.ShowDialog(owner);

            InvokeEvent(owner, PostEditGitIgnore);

            return(false);
        }
        public bool StartEditGitIgnoreDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
                return false;

            if (!InvokeEvent(owner, PreEditGitIgnore))
                return true;

            using (var form = new FormGitIgnore(this))
                form.ShowDialog(owner);

            InvokeEvent(owner, PostEditGitIgnore);

            return false;
        }
示例#4
0
        public bool StartEditGitIgnoreDialog()
        {
            if (!RequiresValidWorkingDir())
                return false;

            if (!InvokeEvent(PreEditGitIgnore))
                return true;

            var form = new FormGitIgnore();
            form.ShowDialog();

            InvokeEvent(PostEditGitIgnore);

            return false;
        }
示例#5
0
        public bool StartEditGitIgnoreDialog()
        {
            if (!InvokeEvent(PreEditGitIgnore))
                return true;

            FormGitIgnore form = new FormGitIgnore();
            form.ShowDialog();

            InvokeEvent(PostEditGitIgnore);

            return false;
        }