Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have made two forms lets say form1 and form2 and i want form2 to be shown at the bottom of form1 and i want it to be visible when mouse is moving...

Thanks
Only in [vb.net]

http://www.dreamincode.net/forums/topic/280997-problem-dock-form-at-the-bottom-of-another-form/
Posted
Updated 28-May-12 11:38am
v3

trying using MDI form.

1. In the parent form change the mdicontainer property to true.
2. Now call the second form as formChild.show(formParent).
3. Last in formChild's form load event write me.dock = dockstyles.bottom and ur done.
 
Share this answer
 
The effect you might want is class Panel

which can exist in a Form

Panel
 
Share this answer
 
1. frmChild.TopLevel = False
2. frmChild.Dock=DockStyle.Fill
2. panel.controls.add(frmChild)
 
Share this answer
 
Comments
CHill60 17-Sep-15 6:17am    
If you are going to answer old questions make sure you give complete explanations that bring something new to the discussion. Otherwise you will just attract down-votes

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