January 5th, 2013, 01:50 PM
I am using two radiobuttons in visual studio window form. Now I want some buttons to be factional when radiobutton1 is pressed and the same thing with radiobutton2.
To do so, I copied and paste the coding of the buttons in the radiobutton1 loop, as show below:
When running, the program is giving errors. Can someone please tell me the way to do this ??
private void radioButton1_CheckedChanged(object sender, EventArgs e)
private void button1_Click_MouseDown(object sender, MouseEventArgs e)
label1.Text = "X";
private void button1_Click_MouseUp(object sender, MouseEventArgs e)
label1.Text = "Y";
Thanks in advance.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.