Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# make two checkbox uncheckable both

private void chkBuried_CheckedChanged(object sender, EventArgs e)
{
    chkAboveGround.Checked = !chkBuried.Checked;
}
private void chkAboveGround_CheckedChanged(object sender, EventArgs e)
{
    chkBuried.Checked = !chkAboveGround.Checked;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #checkbox #uncheckable
ADD COMMENT
Topic
Name
5+2 =