Наследование: GitExtensionsForm
Пример #1
0
        public bool StartSubmodulesDialog()
        {
            if (!InvokeEvent(PreSubmodulesEdit))
            {
                return(true);
            }

            var form = new FormSubmodules();

            form.ShowDialog();

            InvokeEvent(PostSubmodulesEdit);

            return(true);
        }
Пример #2
0
        public bool StartSubmodulesDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
            {
                return(false);
            }

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

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

            InvokeEvent(owner, PostSubmodulesEdit);

            return(true);
        }
Пример #3
0
        public bool StartSubmodulesDialog()
        {
            if (!RequiresValidWorkingDir())
            {
                return(false);
            }

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

            var form = new FormSubmodules();

            form.ShowDialog();

            InvokeEvent(PostSubmodulesEdit);

            return(true);
        }
Пример #4
0
        public bool StartSubmodulesDialog(IWin32Window owner)
        {
            if (!RequiresValidWorkingDir(owner))
                return false;

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

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

            InvokeEvent(owner, PostSubmodulesEdit);

            return true;
        }
Пример #5
0
        public bool StartSubmodulesDialog()
        {
            if (!RequiresValidWorkingDir())
                return false;

            if (!InvokeEvent(PreSubmodulesEdit))
                return true;

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

            InvokeEvent(PostSubmodulesEdit);

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

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

            InvokeEvent(PostSubmodulesEdit);

            return true;
        }
Пример #7
0
 private void manageSubmodulesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FormSubmodules formSubmodules = new FormSubmodules();
     formSubmodules.ShowDialog();
     Initialize();
 }