Beispiel #1
0
 // model changed
 public void HandleModelChanged()
 {
     _buttonControl.IsRedoEnabled   = _model.IsRedoEnabled;
     _buttonControl.IsUndoEnabled   = _model.IsUndoEnabled;
     _buttonControl.IsDeleteEnabled = _model.IsSelected;
     _presentationModel.Draw();
     RefreshButton();
 }
Beispiel #2
0
 // 畫面更新
 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();
        }
Beispiel #5
0
 // 畫圖
 public void HandleModelChanged()
 {
     _presentationModel.Draw(_interfaceGraphics);
 }
Beispiel #6
0
 //observer
 public void HandleModelChanged()
 {
     _presentationModel.Draw();
     RefreshCommandButton();
 }