Наследование: GitUI.GitModuleForm
Пример #1
0
        public bool StartStashDialog()
        {
            if (!InvokeEvent(PreStash))
            {
                return(true);
            }

            var form = new FormStash();

            form.ShowDialog();

            InvokeEvent(PostStash);

            return(true);
        }
Пример #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);
        }
Пример #3
0
        public bool StartStashDialog()
        {
            if (!RequiresValidWorkingDir())
            {
                return(false);
            }

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

            var form = new FormStash();

            form.ShowDialog();

            InvokeEvent(PostStash);

            return(true);
        }
Пример #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;
        }
Пример #5
0
        public bool StartStashDialog()
        {
            if (!RequiresValidWorkingDir())
                return false;

            if (!InvokeEvent(PreStash))
                return true;

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

            InvokeEvent(PostStash);

            return true;
        }
Пример #6
0
        public bool StartStashDialog()
        {
            if (!InvokeEvent(PreStash))
                return true;

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

            InvokeEvent(PostStash);

            return false;
        }