private void radioButtonCntGames_CheckedChanged(object sender, EventArgs e) { try { if (radioButtonCntGames.Checked == true) { ListCompareRatingNBLByCntGames cl = new ListCompareRatingNBLByCntGames(); container.Sort(cl); init_data(); } } catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); } }
private void RatingPlayerInNBL_Load(object sender, EventArgs e) { try { container = calculate(); radioButtonCntGames.Checked = true; ListCompareRatingNBLByCntGames cl = new ListCompareRatingNBLByCntGames(); container.Sort(cl); init_data(); } catch (Exception ex) { MessageBox.Show(ex.Message, ex.Source); } }