当父母最小化或最大化时,mdi子项应居中 [英] mdi child should be centered when parent minimise or maximise

查看:69
本文介绍了当父母最小化或最大化时,mdi子项应居中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows应用程序中使用MDI父级和子级,每当我尝试最小化父级时,子窗体都不会放在父级的中心...希望您用代码回复....

Hi i am having MDI Parent and childs in windows application,whenever i tried to minimize my parent the child forms are not placing at centre of parent...hope u reply withcode....

推荐答案

MDI子不应该以我为中心.虽然没有任何事情可以通过更改Location来居中.

我将再向前迈出一步.不要使用MDI!强烈建议不要这样做,并且可能仅支持使其保持正常运行.这是最不方便的UI样式之一.您可以吓跑客户.
Tabling界面更好(以及基于单个窗口的任何其他界面)也更易于实现.

—SA
MDI child should not me centered. Nothing prevents to center by changing Location though.

I''ll make another step forward. Don''t use MDI! It is strongly discourages and probably only supported to keep legacy working. This is one of the most inconvenient UI styles; you can scare off your customers.
Tabbing interface in much better (and any other interface based on a single window) and easier to implement, too.

—SA


这篇关于当父母最小化或最大化时,mdi子项应居中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆