private void button1_Click(object sender, EventArgs e) { var item = new WorkItems() { Title = textBox1.Text, Description = textBox2.Text, }; var result = workItemService.CreateWorkItem(item); if (result.Item1) { //success message RefreshWorkITems(); ResetForm(); //comboBox1.SelectedIndex = 0; } else { MessageBox.Show(result.Item2); } }