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
<
inside form2 write this
public void ChangeLabel(string s) { labelX1.Text = s; }
then where you create Form 2 do this
form2 frm2 = new form2(); frm2.ChangeLabel(this.button1.text);