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

            var form = new FormStash();

            form.ShowDialog();

            InvokeEvent(PostStash);

            return(true);
        }
Esempio 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);
        }
        public bool StartStashDialog()
        {
            if (!RequiresValidWorkingDir())
            {
                return(false);
            }

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

            var form = new FormStash();

            form.ShowDialog();

            InvokeEvent(PostStash);

            return(true);
        }
        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;
        }
Esempio 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;
        }
Esempio n. 6
0
        public bool StartStashDialog()
        {
            if (!InvokeEvent(PreStash))
                return true;

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

            InvokeEvent(PostStash);

            return false;
        }