Changing a label's text in another form in C#?
13
4
I have a label called LabelX1. This is on form2. On form1, i have a button. I want the button's text to be transferred to the other form's label. I have tried form2 frm2 = new form2(); frm2.labelX1.Text = this.button1.text; But it does not work. Is there an easy, straight forward way of doing this?
c# winforms
share | improve this question
edited May 22 '12 at 14:25
SLaks
683k 139 1636 1756
asked May 22 '12 at 14:23
Hunter Mitchell Hunter Mitchell
...
