private void btn_acceptassignment_Click(object sender, EventArgs e) { Form_Answer answer = new Form_Answer(currentuser, currentquestion); if (DialogResult.OK == answer.ShowDialog()) { MessageBox.Show("Antwoord verstuurd"); this.Close(); } }