jeudi 9 mai 2019

Check if RadioButton is Checked from Checkchanged event

I need to check if the RadioButton is checked from the checkchanged event

 private void radioButton6_CheckedChanged_2(object sender, EventArgs e)
        {
            if(radioButton6.Checked)
            {

            }
        }

Is this the properway to do it? Can i access the CheckBox state from the sender object?




Aucun commentaire:

Enregistrer un commentaire