Using:
frm_main frm; //frm_main is your main form which user control is on it frm=(frm_main)this.FindForm(); //It finds the parent form and sets it to the frm
now you have your basic form. any change to frm will be reflected in the main form. if you want to access the specified control in your main form, use:
1 - Create the control you want to access (Ex: Label):
Label lbl_main;
2. Set the label with the returned control from the search result:
frm.Controls.FindControl("controlId",true);
3-Make your changes to the shortcut:
lbl_main.Text="new value changed by user control";
Your changes will be reflected in the control. Hope this helps.
source share