Click here to Skip to main content
15,878,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All
I have a Problem

I have a Parent Form F1 and it has a label. While On Form Load(F1),The form F2 Will be Appeared In Form F1 and That From F2 has a Button and A label , While i was click on button Form F2 will be hide and Label text(F2) that has to be copied to Label that has present in Form F1.

and the condition is the main form F1 doesn't have a menu strip or other controls and it should not create anther instance of Main Parent form F1


while i was trying to Transfer Label Text From MDI Child Form To MDI Parent Form the label data wasn't transferred, Please Help me to solve this problem


Thanking You..

if you have a code or project regarding this problem you can send me mail rajivreddy.j@outlook.com
Posted
Comments
BillWoodruff 28-Oct-13 2:35am    
It is almost always poor design practice to place Controls directly on an MDIParent Form because they will always appear "on top of" Child Forms that cover the same screen area: that creates a potential visual mess.

1 solution

Hi,
i finally found a useful old post!
check the solution number 2

how to enable the buttons which are in parent form from child form in C#.net[^]

Hope it helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900