问题描述
您好所有访客
我在vb.net中的子表单有问题.
我有2种形式(1种是父母形式,2种是孩子形式)
在我的父母表格上,我在表格的左侧有1个面板.因此子表单将显示在右侧.
这是我的代码,当按钮child1
Hi all visitors
I have problem with child form in vb.net.
i have 2 forms (1 is parent form and 2 is child form)
on my parent form, i have 1 panel at the left side of form. so the child form will display at the right side.
This is my code when button child1
Dim frm As New frmItemGroup
frm.MdiParent = Me
frm.Show()
当我单击child1按钮时,它显示在右侧.但是子窗体的宽度比父窗体的宽度长.因此,如果我想向子窗体输入数据,则需要滚动.
有人知道如何固定子表格与父表格的宽度匹配吗?
最好的问候,
TONY
when i click on child1 button,it display at the right side. but the child form width is longer than parent form.so i need to scroll if i want to input data to child form.
Anybody know how can i fixed child form match with width of parent form?
Best Regards,
TONY
推荐答案
这篇关于子窗体宽度比VB.NET中的父窗体宽度长的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!