Exemplo n.º 1
0
 private void cbVersions_SelectionChangeCommitted(object sender, EventArgs e)
 {
     if (cbVersions.SelectedItem is UpdateInfo info)
     {
         btnInstall.Enabled = true;
         _currentRepository.SetCurrentVersion(info.GetVersion());
         UpdateButtonsVisibility();
     }
 }