private void m_btnGiveAnswer_Click(object sender, EventArgs e) { var item = m_listQuestions.SelectedItems[0]; FormGiveAnswer.ShowFormGiveAnswer(item.Tag as Question); UpdateAssessment(); SaveAssessment(); }
public static void ShowFormGiveAnswer(Question a_question) { var form = new FormGiveAnswer(a_question); form.ShowDialog(); }