عند اختيار الأداة checkBox1 تُمكَّن الخيارات RadioButton (الموجودة ضمن panel1)، وعند عدم اختيارها تصبح الخيارات غير ممكنة. اكتب التعليمات.
أظهر إجابة سلّم التصحيح
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
panel1.Enabled = checkBox1.Checked;
}
{
panel1.Enabled = checkBox1.Checked;
}