read-only checkbox

  • Thread starter Thread starter Guest
  • Start date Start date
this.checkBox1.CheckedChanged += new
System.EventHandler(this.checkBox1_CheckedChanged);

private void checkBox1_CheckedChanged(object sender, System.EventArgs e)

{

checkBox1.Checked = false;

}
 
LOL. You're Alex K too. I'm Alex Korchemniy :)

Well you can derive from the CheckBox control and disable whatever you need.
I think you're looking for OnClick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top