Inheritance: GitExtensionsForm
Ejemplo n.º 1
0
        public bool StartRebaseDialog(string branch)
        {
            if (!InvokeEvent(PreRebase))
            {
                return(true);
            }

            var form = new FormRebase(branch);

            form.ShowDialog();

            InvokeEvent(PostRebase);

            return(true);
        }
Ejemplo n.º 2
0
        public bool StartRebaseDialog(IWin32Window owner, string branch)
        {
            if (!RequiresValidWorkingDir(owner))
            {
                return(false);
            }

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

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

            InvokeEvent(owner, PostRebase);

            return(true);
        }
Ejemplo n.º 3
0
        public bool StartRebaseDialog(string branch)
        {
            if (!RequiresValidWorkingDir())
            {
                return(false);
            }

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

            var form = new FormRebase(branch);

            form.ShowDialog();

            InvokeEvent(PostRebase);

            return(true);
        }
Ejemplo n.º 4
0
        public bool StartRebaseDialog(IWin32Window owner, string from, string to, string onto)
        {
            if (!RequiresValidWorkingDir(owner))
                return false;

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

            using (var form = new FormRebase(this, from, to, onto))
                form.ShowDialog(owner);

            InvokeEvent(owner, PostRebase);

            return true;
        }
Ejemplo n.º 5
0
        public bool StartRebaseDialog(IWin32Window owner, string branch)
        {
            if (!RequiresValidWorkingDir())
                return false;

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

            var form = new FormRebase(branch);
            form.ShowDialog(owner);

            InvokeEvent(owner, PostRebase);

            return true;
        }
Ejemplo n.º 6
0
        public bool StartRebaseDialog(string branch)
        {
            if (!InvokeEvent(PreRebase))
                return true;

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

            InvokeEvent(PostRebase);

            return true;
        }