I wanted to know how to write if statements to see if one or another check box is checked or not.
I have two check boxes. I wanted it to check to see if checkbox 1 is c
private void checkBox1_CheckedChanged(object sender, EventArgs e) { if (checkBoxImage.Checked) { groupBoxImage.Show(); } else if (!checkBoxImage.Checked) { groupBoxImage.Hide(); } }