Beispiel #1
0
        public bool StartMergeBranchDialog(string branch)
        {
            if (!InvokeEvent(PreMergeBranch))
            {
                return(true);
            }

            var form = new FormMergeBranch(branch);

            form.ShowDialog();

            InvokeEvent(PostMergeBranch);

            return(true);
        }
Beispiel #2
0
        public bool StartMergeBranchDialog(IWin32Window owner, string branch)
        {
            if (!RequiresValidWorkingDir(owner))
            {
                return(false);
            }

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

            using (var form = new FormMergeBranch(branch))
                form.ShowDialog(owner);

            InvokeEvent(owner, PostMergeBranch);

            return(true);
        }
        public bool StartMergeBranchDialog(string branch)
        {
            if (!RequiresValidWorkingDir())
            {
                return(false);
            }

            if (!InvokeEvent(PreMergeBranch))
            {
                return(true);
            }

            var form = new FormMergeBranch(branch);

            form.ShowDialog();

            InvokeEvent(PostMergeBranch);

            return(true);
        }
        public bool StartMergeBranchDialog(IWin32Window owner, string branch)
        {
            if (!RequiresValidWorkingDir(owner))
                return false;

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

            using (var form = new FormMergeBranch(this, branch))
                form.ShowDialog(owner);

            InvokeEvent(owner, PostMergeBranch);

            return true;
        }
        public bool StartMergeBranchDialog(string branch)
        {
            if (!RequiresValidWorkingDir())
                return false;

            if (!InvokeEvent(PreMergeBranch))
                return true;

            var form = new FormMergeBranch(branch);
            form.ShowDialog();

            InvokeEvent(PostMergeBranch);

            return true;
        }
        public bool StartMergeBranchDialog(string branch)
        {
            if (!InvokeEvent(PreMergeBranch))
                return true;

            FormMergeBranch form = new FormMergeBranch(branch);
            form.ShowDialog();

            InvokeEvent(PostMergeBranch);

            return true;
        }