/** 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(); }
/** 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(); }