Пример #1
0
 // Click clear botton
 private void HandleClearButtonClick(object sender, RoutedEventArgs e)
 {
     _model.Clear();
 }
Пример #2
0
 //click clear
 public void HandleClearButtonClick(object sender, System.EventArgs e)
 {
     _model.Clear();
     _buttonUndo.Enabled = false;
     _buttonRedo.Enabled = false;
 }
Пример #3
0
 //click clear button
 public void HandleClearButtonClick(object sender, System.EventArgs e)
 {
     _model.Clear();
 }
 //click clear
 private void HandleClearButtonClick(object sender, RoutedEventArgs e)
 {
     _model.Clear();
     _undo.IsEnabled = _model.GetUndoEnable();
     _redo.IsEnabled = _model.GetRedoEnable();
 }