Possible Duplicate:
accessing controls on parentform from childform
I have parent form form1 and child form test1 i want to change label text of parent form from child form in my parent form i have method to showresult()
public void ShowResult()
{ label1.Text="hello"; }
I want to change label.Text="Bye"; form my child form test1 on button click event. Please give any suggestions.
when calling the child form, set the
Parentproperty of child form object like this..On your parent form, make the property of your label text like as..
From your child form you can get the label text like that..