在 vb.net 2010 中锚定表单 [英] Anchoring a Form in vb.net 2010

查看:58
本文介绍了在 vb.net 2010 中锚定表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是如何将子 mdi 锚定到其父 mdi,以便每次用户扩展或最小化父表单时,子表单都会自动跟随.我已经尝试在表单中使用调整大小功能,但它没有帮助谢谢所有的帮助是appriciated

my question is how to anchor a child mdi to its parent mdi so that each time the user expands or minimizes the parent form the child form automatically follows. I already tried to use the resize function in form but it doesn't help thanks all help is appriciated

推荐答案

试试这个:

Me.Anchor = AnchorStyles.Bottom
Me.Anchor = AnchorStyles.Left
Me.Anchor = AnchorStyles.Right
Me.Anchor = AnchorStyles.Top

这篇关于在 vb.net 2010 中锚定表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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