// model changed public void HandleModelChanged() { _buttonControl.IsRedoEnabled = _model.IsRedoEnabled; _buttonControl.IsUndoEnabled = _model.IsUndoEnabled; _buttonControl.IsDeleteEnabled = _model.IsSelected; _presentationModel.Draw(); RefreshButton(); }
// 畫面更新 public void HandleModelChanged() { _presentationModel.Draw(); }
//HandleModelChanged public void HandleModelChanged() { _presentationModel.Draw(); _undo.IsEnabled = _model.IsUndoEnabled(); _redo.IsEnabled = _model.IsRedoEnabled(); }
/// <summary> Handles the model changed. </summary> /// /// ### <remarks> Chen-Tai,Peng, 12/12/2018. </remarks> private void HandleModelChanged() { _presentationModel.Draw(); }
// 畫圖 public void HandleModelChanged() { _presentationModel.Draw(_interfaceGraphics); }
//observer public void HandleModelChanged() { _presentationModel.Draw(); RefreshCommandButton(); }