Exemple #1
0
        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            classcontainer.MouseClick += ClassCont_MouseClick;
            var open = new OpenNewProject(ProjectCont, classcontainer, _textEditor, search, displayhelp);

            open.OpnenNewProject();
        }
Exemple #2
0
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            _textEditor                     = new FastColoredTextBox();
            _textEditor.PaintLine          += fastColoredTextBox1_PaintLine;
            _textEditor.TextChangedDelayed += fastColoredTextBox1_TextChangedDelayed;
            classcontainer.MouseClick      += ClassCont_MouseClick;
            var open = new OpenNewProject(ProjectCont, classcontainer, _textEditor, search, displayhelp);

            open.OpnenNewProject();
        }
Exemple #3
0
        private void Open_new_project_Click(object sender, EventArgs e)
        {
            var editor = new ProjectWindow();

            var open = new OpenNewProject(editor.Treeview, editor.classcontainer, editor.search, editor.displayhelp);

            open.OpnenNewProject();
            if (open.Flag)
            {
                editor.Show();
            }
            else
            {
                MessageBox.Show("Chosen folder is not a valid project", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                open.Dispose();
            }
        }