Hi!
I need to activate another button after the first one will be clicked.
For example, I have two Buttons + label: Button1 ,Button2, Label1.
On the first one when I click its will do this:
button1 = ''hello'';
Then after clicking on the first one its should activate the other one (button2) who will show this word on the label: Thanx.
See what is on the second one (Button2).
button2= label1.txt;
My problem is all should work once after clicking to first one then automatically the second also do the label1.
Pankaj Kumar ChoudharyPosted Feb 24, 2015, 12:28 PM
private void button1_Click(object sender, EventArgs e)
{
label1.Text = "thanx";
button1.Text = "hello";
button2_Click(sender, e);
}
private void button2_Click(object sender, EventArgs e)
{
button2.Text = label1.Text;
}
IsraelPosted Feb 25, 2015, 10:17 AM