I createbtn1_MouseDown
Event.
private void btn1_MouseDown(object sender, MouseEventArgs e)
{
btn1.BackgroundImage = Properties.Resources.click;
}
I want to disable that btn1_MouseDownt
Event behind this RadioButton
when it checked. I mean to say when Radiobutton
checked then this btn1_MouseDown
event should not work.
private void r1_CheckedChanged(object sender, EventArgs e) { if (r1.Checked == true) clock = 5; radioButton2.Enabled = false; radioButton3.Enabled = false; radioButton4.Enabled = false; }
Is that possible ?
true
? – lc.bool
, but a normalbool
. – O. R. MapperRadioButton.Checked
was aSystem.Boolean
– lc.