开发者

Maximized MDI form behavior

My program shows some browser. From a browser user can open m开发者_StackOverflow社区aximized MDI form with some report. When user is closing the report, first MDI form with browser is became maximized.

2 forms have same MDI parent. Can I change this behavior to leave my first browser form without maximizing after second report closed?


When you maximize an MDI form, you are essentially maximizing the parent form that contains the MDI form. One way to handle this is to check to see if the browser will be active when you close the report form, and if so, set the MDIParent's windowstate to normal when you close the report MDI child.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜