开发者

Trouble bringing an MDI form to the front

Imagine I have two MDI forms inside of a parent form.

Each form has many many controls inside, some are even custom Infragistics controls such as an UltraPanel.

Currently when both forms are open and in n开发者_JS百科ormal sized mode (not maximize or minimized), I can only bring one form to the front of the other by clicking on the forms title bar.

If I click inside the form itself, it's not brought to the front. Is there some way for me to capture the click anywhere inside the MDI form and bring that one to the front?


Add a DoubleClick event to the child form and set:

this.WindowState = FormWindowState.Maximized;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜