//click redo public void HandleRedoButtonClick(object sender, System.EventArgs e) { _model.ClickRedo(); _buttonRedo.Enabled = _model.GetRedoEnable(); _buttonUndo.Enabled = _model.GetUndoEnable(); }
//click redo private void HandleRedoButtonClick(object sender, RoutedEventArgs e) { _model.ClickRedo(); _undo.IsEnabled = _model.GetUndoEnable(); _redo.IsEnabled = _model.GetRedoEnable(); }