Esempio n. 1
0
        public bool StartMergeBranchDialog(string branch)
        {
            if (!InvokeEvent(PreMergeBranch))
            {
                return(true);
            }

            var form = new FormMergeBranch(branch);

            form.ShowDialog();

            InvokeEvent(PostMergeBranch);

            return(true);
        }
Esempio n. 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;
        }
Esempio n. 5
0
        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;
        }
Esempio n. 6
0
        public bool StartMergeBranchDialog(string branch)
        {
            if (!InvokeEvent(PreMergeBranch))
                return true;

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

            InvokeEvent(PostMergeBranch);

            return true;
        }