Minimize application - Form and their Owners...
"Bhatnagar, Amit" <[email protected]> Tue, 14 Aug 2007 16:25:06 -0600
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <[email protected]> |
Hi All. I have 3 forms: - MainForm (my top level form) (MF) - SecondaryForm (SF) - TertiaryForm (TF) MF is the Owner of SF. SF is the Owner of TF. MF can display SF non-modally, and subsequently SF can display TF non-modally. If SF is closed, then TF has no meaning and should be closed, and it does because TF's Owner is SF. I want to maintain this relationship. My problem is when I minimize MF. I want both SF and TF to be minimized, but only SF gets minimized and not TF. I assume this because SF is directly owned by MF, but TF is directly owned by SF. How can I make it so that the relationship between SF and TF is maintained, but when I minimize my MF, all of the forms minimize? I would have thought that since SF owns TF, that when SF is minimized (because MF got minimized), it would also minimize those forms that it owns - but it doesn't! I hope this makes sence.. The information contained in this e-mail message is PRIVATE. It may contain confidential information and may be legally privileged. It is intended for the exclusive use of the addressee(s). If you are not the intended recipient, you are hereby notified that any dissemination, distribution or reproduction of this communication is strictly prohibited. If the intended recipient(s) cannot be reached or if a transmission problem has occurred, please notify the sender immediately by return e-mail and destroy all copies of this message. Thank you.