private void btnEye_Click(object sender, EventArgs e) { QuestionDTO question = (sender as Button).Tag as QuestionDTO; FShowQuestion showQuestion = new FShowQuestion(question.qID); showQuestion.ShowDialog(); }
private void button2_Click(object sender, EventArgs e) { string questionID = (sender as Button).Tag as string; FShowQuestion f = new FShowQuestion(questionID); f.ShowDialog(); }