Exemplo n.º 1
0
 private void EnableUI()
 {
     flashButton.Enabled       = _flasher.CanFlash();
     resetButton.Enabled       = _flasher.CanReset();
     clearEepromButton.Enabled = _flasher.CanClearEeprom();
 }
Exemplo n.º 2
0
 private void EnableUI()
 {
     windowState.CanFlash       = _flasher.CanFlash();
     windowState.CanReset       = _flasher.CanReset();
     windowState.CanClearEeprom = _flasher.CanClearEeprom();
 }