Click here to Skip to main content
12,074,771 members (58,731 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
In a container form I have menu and buttons to open ther forms.
Here I am facing a problem when I open any form these buttns and lables come over newly opened form.

Please guide me how I can manage this issue? I want to open a new form and keep these container form's controls in back ground of it.

http://i.stack.imgur.com/QGiNV.jpg[^]
Posted 19-Nov-12 11:41am
Comments
Sergey Alexandrovich Kryukov 19-Nov-12 17:09pm
   
What do you mean come over child form, exactly?
--SA
Sergey Alexandrovich Kryukov 19-Nov-12 17:13pm
   
Fist thing you should understand: the child-parent relationships between form is done effective defunct, you should not use it.
I don't mean MDIParent/MDIChild relationships -- they work. But -- listen for a good friendly advice, never ever use MDI -- by different and very serious reasons.
Now, what you show is possible. I would ask you to show your code but I don't really want to see it -- rather, you should review your design and come up with something reasonable.
We can discuss it if you provide relevant information on what you want to achieve.
--SA
samadblaj 19-Nov-12 17:18pm
   

How do you bring MDI child windows to the front if MDI parent has controls?
Sergey Alexandrovich Kryukov 19-Nov-12 17:24pm
   
Do yourself a great favour -- forget about MDI. Do you really need explanation why?
--SA

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Winforms NEVER does this. I think your graphics card driver is out of date.
  Permalink  
Comments
Christian Graus 19-Nov-12 16:59pm
   
No. Windows never does this. The parent form, is distinct from the child form. Unless you made the child form transparent. I think it's possible to do that in the settings. But you ask for help and post no code, so I am guessing.
samadblaj 19-Nov-12 17:18pm
   
nooo, Controls in container form come over child form?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160208.1 | Last Updated 19 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100