private void buttonAddQuestion_Click(object sender, EventArgs e)
        {
            NewQuestionForm nqf = new NewQuestionForm();
            nqf.ShowDialog(this);

            if (!nqf.Canceled)
                this.questions.questions.Add(nqf.Question);

            return;
        }
        private void buttonAddQuestion_Click(object sender, EventArgs e)
        {
            if (this.lastSelectedNodeType == NodeType.Class)
                return;

            NewQuestionForm nqf = new NewQuestionForm();
            nqf.ShowDialog(this);

            if (nqf.Canceled)
                return;

            this.c.questions[this.cachedSectionIndex].questions.Add(nqf.Question);
            TreeNode node = this.treeViewQuestions.Nodes[0].Nodes[this.cachedSectionIndex].Nodes.Add(nqf.Question.q);
            node.Parent.Expand();
            this.treeViewQuestions_NodeMouseClick(this.treeViewQuestions, new TreeNodeMouseClickEventArgs(node, System.Windows.Forms.MouseButtons.Left, 1, 0, 0));
        }