Exemple #1
0
        private void TempQuestionButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            QuestionForm form = new QuestionForm();

            form.FormClosed += (s, args) => this.Close();
            form.Show();
        }
Exemple #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            //QuizFile open = new QuizFile();
            //QuizObject obj = open.OpenFile();
            //TakeQuiz take = new TakeQuiz(obj);


            QuestionForm form = new QuestionForm();

            form.FormClosed += (s, args) => this.Show();
            form.Show();
            this.Hide();
        }