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

            var form = new FormMergeBranch(branch);

            form.ShowDialog();

            InvokeEvent(PostMergeBranch);

            return(true);
        }
예제 #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);
        }
예제 #3
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);
        }
예제 #4
0
        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;
        }
예제 #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;
        }
예제 #6
0
        public bool StartMergeBranchDialog(string branch)
        {
            if (!InvokeEvent(PreMergeBranch))
                return true;

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

            InvokeEvent(PostMergeBranch);

            return true;
        }