if (comboBox2.SelectedItem.ToString() == "Yes") { textBox1.IsEnabled = false; textBox1.Text = "Good Health"; } else { textBox1.IsEnabled = true; }
if (comboBox2.SelectedItem.ToString() == "Yes") { textBox1.Enabled = false; textBox1.Text = "Good Health"; } else { textBox1.Enabled = true; }
if (comboBox2.SelectedItem.ToString() == "Yes") { textBox1.IsEnabled Enabled = false; textBox1.Text = "Good Health"; } else { textBox1.IsEnabled Enabled = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)