示例#1
0
        /** Loads form used when user don't know the answer to question */
        private void lackOfAnswerButton_Click(object sender, EventArgs e)
        {
            LackOfAnswer lackOfAnswerForm = new LackOfAnswer(answer);

            lackOfAnswerForm.ShowDialog();
            this.Close();
        }
示例#2
0
        /** Loads form showing answers and closes current form opened */
        private void viewAnswer_Click(object sender, EventArgs e)
        {
            LackOfAnswer Answer = new LackOfAnswer(currentAnswer);

            Answer.ShowDialog();
            this.Close();
            this.parentForm.Close();
        }