ok. I will place a simple scenario of my problem to u.
there are two buttons who do different tasks lets say task1 and task2. On pressing each button i am displaying 3 child forms(MDI) with Normal windowstate.
Now, the steps are-
1. press task1.
2. three forms are displayed in normal windowstate(form1, form2, form3).
3. Now i maximize form1.
4. Now here this form is maximized upto the size of user control on which they are placed.
5. Click task2. three forms with Normal windowstate are displayed.
6. i again press back task1.
7. now instaed of form 1 displayed as maximize, form2(or form3)is maximized.
at step 5, when task2 is clicked, 3 forms for task1 are hidden using form.hide() method. similarly for task2 also. this is like when i click any buttton previous forms should be hidden.
i have stored windowstate of each form in the property of form whnever i maximize or minimize the form. this is readOnly property.So on after form.show(), i loop each form and applythis stored windowstate back to forms windowstate.
This scenarion is rare to reproduce in prototype. coz that could not be exact my application.
this is only i can demonstarte about my aplli.
thanks.