private void CPSeek_ProgressChanged(object sender, SeekBar.ProgressChangedEventArgs e) { if (!cpSeek.Enabled) { return; } int cpMin = pokemon.GetMinimumCP(pokemonLevel); data.CP = cpMin + cpSeek.Progress; cpValue.Text = data.CP.ToString(); RefreshIVs(); }