后退和前进按钮 [英] Back and Forward buttons

查看:105
本文介绍了后退和前进按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我一直在寻找可以在c#winforms应用程序中放置后退和前进按钮的方法.我希望这些按钮可以像以前一样显示我的屏幕.
问候,
Akkywadhwa

Hi Guys,
I''ve been looking for method by which i could place back and forward buttons in my c# winforms application. I want that those buttons could make my screen as it was previously.
Regards,
Akkywadhwa

推荐答案

如果您正在谈论撤消,重做,那么有一些文章可供参考.这不是免费的.
用于添加撤消/重做支持的简单框架 [ ^ ]
If you are talking about undo, redo, then there are some articles to look at. This does not come for free.
A simple framework for adding undo/redo support[^]


也许您应该考虑使用WPF.有一个ViewModels列表,并在移动时添加到数组中.这样,只需要在列表中移动DataContext. ViewModel可以控制很多属性.
Maybe you should consider WPF. Have an List of ViewModels, and add to the array as you move. That way just have to move the DataContext through the List. The ViewModel can control an awful lot of attributes.


这篇关于后退和前进按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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