protected void btnUndo_Click(object sender, EventArgs e)
{
var action = eventStack.pop();
// ignore action as we just want to remove it
// now redraw your PictureBox with what's left in the Stack
}
这个就是我说的方法,把保存的操作重新做了一遍,这种是可以实现,但比较耗时。
赵4老师的例子跟这个一样吗?