后退和前进按钮

问题描述:

大家好,
我一直在寻找可以在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.