如何在具有Treeview控件的Wndows应用程序中的表单之间移动? [英] How to move between forms in a Wndows Application with treeview control?

查看:70
本文介绍了如何在具有Treeview控件的Wndows应用程序中的表单之间移动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好...
我们如何使用Treeview控件在Windows应用程序的窗体之间移动.这里我在窗体上放置了Treeview控件,但是我需要使用此Treeview在窗体之间移动,所有窗体都可以显示在一页上.应用程序以通过单击树视图节点在一页上显示所有表单.(如果我不能在一页上显示所有表单,请引导我如何使用树视图在表单之间移动)
感谢

解决方案

您无法在一页中显示所有应用程序形式.如果要使用MDI表单,则将允许该表单位于MDI内,或者使用面板制作usercontrol表单而不是Forms,并尝试将其显示在与treeview所选节点或您需要的节点相对应的面板中. /blockquote>

Hi there...
How can we move between forms of a windows application program using a Treeview control.Here i placed a treeview control on my form but I need to use this treeview to move between forms and all forms can be shown on ONE page.So I need my application to show every forms on one page by clicking on treeview nodes.(And if I can''t show all forms on one page plz just guide me how to move between forms using a treeview)please guide me compeletely.
thanks

解决方案

You can not show all the forms of your application in one page. If you want to do so use MDI forms this will allow the forms to be inside the MDI or take a panel make usercontrol forms instead of Forms and try to show it in the panel corresponding to the selected node of treeview or waht ever u need


这篇关于如何在具有Treeview控件的Wndows应用程序中的表单之间移动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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