Click here to Skip to main content
12,699,531 members (33,886 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.[^]
Posted 19-Nov-12 11:41am
Sergey Alexandrovich Kryukov 19-Nov-12 17:09pm
What do you mean come over child form, exactly?
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.
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?

1 solution

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

Solution 1

Winforms NEVER does this. I think your graphics card driver is out of date.
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
Web02 | 2.8.170118.1 | Last Updated 19 Nov 2012
Copyright © CodeProject, 1999-2017
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