Ok like u said that u want to make the button enable on selecting a particular item from the radiobutton list right then hers an example for you
In the below code i have again made the button disable on form load
private void Form2_Load(object sender, EventArgs e)
{
button1.Enabled = false;
}
now all you had to do is use the SelectedIndexChanged event of your radio button in my code i have used a checkbox list both are same and will work fine the only difference is that in checkbox u can select multiple item but in radio button you cannot do that
private void checkedListBox1_SelectedIndexChanged(object sender, EventArgs e)
{
if (checkedListBox1.SelectedIndex == 0)
{
button1.Enabled = true;
}
else
{
button1.Enabled = false;
}
}
Now all u have to do is use this logic to enable that button on the selected index of your radio button, here 0 indicates the first item in my checkbox list...
Do rate my answer once you find it useful
Thanks & Regards
Radix :rose: