在Winforms中导航 [英] Navigation in Winforms

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

问题描述





我想知道是否有任何方法可以在Winforms中添加导航控件。通过导航控件,我的意思是,应该有点像,当我们在Windows 7中打开控制面板时,有一个后退和前进按钮,它也在Windows资源管理器中。那么有没有办法在Winforms中以这种方式实现这样的控件。



例如,考虑一个Winform,我输入了我的详细信息,然后单击下一步,我导航到下一个表格(它不应该是MDI COntainer),在到达下一个表格后,我意识到我的第一个表格中出现了错误,所以我想回到之前的表格,其中所有数据都完好无损地输入。如何实现这个?



它应该有点像安装人员,您可以在其中导航并选择选项。



先谢谢。

问候,

Jashobanta

Hi,

I wanted to know if there is any way to add navigation controls in Winforms. By navigation controls, I mean, it should be somewhat like, when we open Control Panel in Windows 7, there is a back and forward button and it is also there in Windows Explorer. So is there any way to implement such controls in this way in Winforms.

For eg, consider a Winform where I have entered my details and after clicking next, I navigate to next form (it should not be a MDI COntainer), after reaching the next form I realized a mistake in my first form, so I want to go back to the previous form with all data entered there intact. How to implement this?

It should be somewhat like Installers where you can navigate back and choose options.

Thanks in Advance.
Regards,
Jashobanta

推荐答案

我会说你必须更喜欢wpf那。看看这些文章,他们可以帮助你设计这个 -

创建基于导航的应用程序 [ ^ ]

开始WPF / MVVM应用程序:在视图之间导航 [ ^ ]
I would say you must prefer wpf for that. have a look at these articles they can help you to design this-
Create Navigation Based Application [^]
Beginning a WPF/MVVM application: Navigating between views[^]


这篇关于在Winforms中导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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