Software Development Network>> Visual C#>> Checkbox Question
hi,
yes its possible you can try this
{
button1.Enabled =
}
hope this helps
Or, shorter:
button1.Enabled = checkBox1.Checked;
Checkbox Question
Bill Fisher
MSJ
hi,
yes its possible you can try this
private void checkBox1_CheckedChanged(object sender, EventArgs e){
if (checkBox1.Checked == true)button1.Enabled =
true; elsebutton1.Enabled =
false;}
hope this helps
Darrin Dyson
Or, shorter:
button1.Enabled = checkBox1.Checked;