عند اختيار الأداة checkBox2 تظهر الخيارات RadioButton وعند عدم اختيارها يتم إخفاء الخيارات. اكتب التعليمات.
أظهر إجابة سلّم التصحيح
private void checkBox2_CheckedChanged(object sender, EventArgs e)
{
radioButton1.Visible = checkBox2.Checked;
radioButton2.Visible = checkBox2.Checked;
radioButton3.Visible = checkBox2.Checked;
}
{
radioButton1.Visible = checkBox2.Checked;
radioButton2.Visible = checkBox2.Checked;
radioButton3.Visible = checkBox2.Checked;
}