private void buttonAdd_Click(object sender, EventArgs e) { Question question = new Question(textBoxDescription.Text, textBoxQuestion.Text, textBoxCorrectAnswer.Text, textBoxFalseAnswerFirst.Text, textBoxFalseAnswerSecond.Text, textBoxFalseAnswerThird.Text, comboBoxSubject.SelectedItem.ToString(), image); DBOperations.AddQuestion(question); }