摘要:
一 使用Command模式如下:二使用Singleton的UndoManager如下:三C#的类代码如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicinterfaceICommand{voidExecute();voidReverse();}publicclassACommand:ICommand{voidExecute(){};voidReverse(){};}publicclassBCommand:ICommand{vo 阅读全文
posted @ 2010-05-06 13:09
iTech
阅读(1429)
评论(2)
推荐(0)

浙公网安备 33010602011771号