Inheritance: GitUI.GitModuleForm
Ejemplo n.º 1
0
        public bool StartStashDialog()
        {
            if (!InvokeEvent(PreStash))
            {
                return(true);
            }

            var form = new FormStash();

            form.ShowDialog();

            InvokeEvent(PostStash);

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

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

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

            InvokeEvent(owner, PostStash);

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

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

            var form = new FormStash();

            form.ShowDialog();

            InvokeEvent(PostStash);

            return(true);
        }
Ejemplo n.º 4
0
        public bool StartStashDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
                return false;

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

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

            InvokeEvent(owner, PostStash);

            return true;
        }
Ejemplo n.º 5
0
        public bool StartStashDialog()
        {
            if (!RequiresValidWorkingDir())
                return false;

            if (!InvokeEvent(PreStash))
                return true;

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

            InvokeEvent(PostStash);

            return true;
        }
Ejemplo n.º 6
0
        public bool StartStashDialog()
        {
            if (!InvokeEvent(PreStash))
                return true;

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

            InvokeEvent(PostStash);

            return false;
        }