Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
Hi,

      I am working on Mdiforms, I took menustrip with one menustrip item(parent form), in that i took 3 child forms. when I open child forms those forms fit into parent form(child form maximize window). when i open childforms and close those child forms one by one there is no problem, all forms are maximized window size.
 
problem: when i open no.of childforms, the last childform is minimized the remaining           
            childforms(before open last childforms) are goes to normal window size(not in  
            maximum window size).
 
Que: how to maximize Child windows, not only childforms closing, even childforms minimized also(all child forms are maximized only even closed or minimized).
Posted 27-Dec-11 20:01pm
Comments
DaveAuld at 28-Dec-11 14:15pm
   
I'm hoping someone can decipher the question, you lost me!
SAKryukov at 28-Dec-11 18:53pm
   
Why? why?!
--SA

1 solution

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

Solution 1

Look, listen to a good friendly advice: stop torturing yourself and chasing our your users with that MDI nonsense. Nearly everyone discourages it, and Microsoft worked hard to phase this thing out. Finally, MDI was not included in WPF even though it remains in System.Windows.Forms, presumably for compatibility with legacy code, but highly discouraged even by Microsoft where this concept was created.
 
There are many robust conceptions; the simplest one is the tabbed UI based on TabControl.
 
Please see:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages[^],
Question on using MDI windows in WPF[^],
MDIContainer giving error[^],
How to Create MDI Parent Window in WPF?[^].
 
Good luck,
—SA
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 269
1 Peter Leow 205
2 OriginalGriff 200
3 _Amy 190
4 Andreas Gieriet 180
0 OriginalGriff 7,540
1 Sergey Alexandrovich Kryukov 6,412
2 Maciej Los 3,849
3 Peter Leow 3,653
4 CHill60 2,702


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 19 Feb 2013
Copyright © CodeProject, 1999-2014
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