在vb.net表单设计中提供帮助 [英] help in vb.net forms design

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

问题描述


我在vb.net上有一个项目,我已经制作了主页的表单,并在其上放置了菜单条,然后制作了视频.当用户打开主页时,视频将显示.主要问题是,如果用户从菜单中选择menue strip另一种形式,该形式将打开separatley(在主页之外).我希望它在安装在视频的主页中打开....?

这是代码;

 carcontrolpanel.MdiParent = 
       carcontrolpanel.Show()




我成功了,但表格会出现在视频的背面,但对用户来说是不可见的
所以它需要停止视频并显示其他形式,但如何显示?
错误不是代码

解决方案

没有有关代码和解决方案的详细信息,听起来就像您在创建主窗体的新实例.

相反,如果您想以相同形式替换当前播放的视频,请将播放器设置为当前形式以显示您选择的视频.


问题虽然不是很清楚,但是我相信这就是您要寻找的:

 childform.MdiParent = MDIformName

childform.WindowState = FormWindowState.Maximized

childform.Show()



希望对您有帮助...


hi
i have a project on vb.net i had make a form of the mainpage and i put menue strip on it and i make video .when the user open the main page the video will display.the main problem is if the user select from the menue strip another form the form will open separatley(outside the mainpage).i want it to open inside the mainpage insted of the vedio....?

this is the code;

carcontrolpanel.MdiParent = Me
       carcontrolpanel.Show()




i make it but the form will appear on the back of the video it will be invisble for user
so it need to stop video and display the other form but how?
the error is not the code

解决方案

Without detailed info about the code and the solution, sounds like you create a new instance of the main form.

Instead, if you want to replace the currently playing video on the same form, set the player in current form to show the video of your selection.


Though question is not very clear but I believe this is what you are looking for:

childform.MdiParent = MDIformName

childform.WindowState = FormWindowState.Maximized

childform.Show()



hope it helps...


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

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