public void Disable() { IsEnabled = false; display.ClearLines(); display.Show(); }
public void Disable() { this.IsEnabled = false; if (_encoder != null) { _encoder.Rotated -= HandlEncoderRotation; } else if (_buttonNext != null && _buttonPrevious != null) { _buttonPrevious.Clicked -= HandleButtonPrevious; _buttonNext.Clicked -= HandleButtonNext; } _buttonSelect.Clicked -= HandleEncoderClick; _display.ClearLines(); }
public void Disable() { this.IsEnabled = false; display.ClearLines(); }