在C#中实现撤消和重做操作 [英] Implementing undo and redo operations in C#

查看:241
本文介绍了在C#中实现撤消和重做操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在C#.NET中实现撤消和重做操作.你们中的任何人都可以给我一个思路,告诉我如何执行此操作吗?

此致

spshah

解决方案

您可以使用命令模式来实现撤消/重做

有关更多信息,请参见

http://www.dofactory.com/Patterns/PatternCommand.aspx

还有这篇文章

http://www.codeproject.com/csharp/undoredobuffer.asp


Hi,

 I am trying to implement Undo and Redo Operations in C#.NET. Can
anyone of you give me an idea how I can perform this ?
 

Regards,

spshah

解决方案

You can use Command Pattern to achive Undo/Redo

For more Info look at

http://www.dofactory.com/Patterns/PatternCommand.aspx

and also this article

http://www.codeproject.com/csharp/undoredobuffer.asp


这篇关于在C#中实现撤消和重做操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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