private void Undo() { CanvasView.Undo(); PaletteView.UpdateUndo(CanvasView.CanUndo); }
void CanvasView_OnLineAdded(object sender, EventArgs e) { PaletteView.UpdateUndo(CanvasView.CanUndo); }