Exemplo n.º 1
0
        public bool StartSubmodulesDialog()
        {
            if (!InvokeEvent(PreSubmodulesEdit))
            {
                return(true);
            }

            var form = new FormSubmodules();

            form.ShowDialog();

            InvokeEvent(PostSubmodulesEdit);

            return(true);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
        public bool StartSubmodulesDialog()
        {
            if (!RequiresValidWorkingDir())
            {
                return(false);
            }

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

            var form = new FormSubmodules();

            form.ShowDialog();

            InvokeEvent(PostSubmodulesEdit);

            return(true);
        }
Exemplo n.º 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;
        }
Exemplo n.º 5
0
        public bool StartSubmodulesDialog()
        {
            if (!RequiresValidWorkingDir())
                return false;

            if (!InvokeEvent(PreSubmodulesEdit))
                return true;

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

            InvokeEvent(PostSubmodulesEdit);

            return true;
        }
Exemplo n.º 6
0
        public bool StartSubmodulesDialog()
        {
            if (!InvokeEvent(PreSubmodulesEdit))
                return true;

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

            InvokeEvent(PostSubmodulesEdit);

            return true;
        }
Exemplo n.º 7
0
 private void manageSubmodulesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FormSubmodules formSubmodules = new FormSubmodules();
     formSubmodules.ShowDialog();
     Initialize();
 }