private void DeleteButton_Click(object sender, EventArgs e) { string message = ""; if (TriviaHelper.DeleteCourse(this, ref message)) { MessageBox.Show(message); } }