0

My program shows some browser. From a browser user can open maximized 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?

4

1 回答 1

1

最大化 MDI 窗体时,实际上是在最大化包含 MDI 窗体的父窗体。处理此问题的一种方法是检查当您关闭报表表单时浏览器是否处于活动状态,如果是,则在您关闭报表 MDI 子项时将 MDIParent 的窗口状态设置为正常。

于 2010-07-07T03:52:19.100 回答