首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MDI子项在MDI父项中的分布

MDI子项在MDI父项中的分布
EN

Stack Overflow用户
提问于 2009-09-13 10:10:04
回答 1查看 2K关注 0票数 2

我有一个MDI父窗体,它在运行时创建许多MDI子窗体。有没有一种聪明的方法可以将这些表单均匀地分布在父级中?有什么想法吗?

提前感谢!!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2009-09-13 11:19:01

代码语言:javascript
复制
**ArrangeIcons**     child window icons are arranged within the parent
**Cascade**          arrange the child windows within the parent window in a cascaded fashion
**TileHorizontal**   tile the child windows horizontally
**TileVertical**     tile the child windows vertically


//Cascade all child forms.        
this.LayoutMdi(System.Windows.Forms.MdiLayout.Cascade);

首先来看看http://www.codeproject.com/KB/cs/mdiformstutorial.aspx

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1417362

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档