private void dataGrid_SelectionChanged_1(object sender, SelectionChangedEventArgs e)
        {
            RankingClasse r = (RankingClasse)dataGrid.SelectedItem;

            dgCom.ItemsSource = null;
            dgCom.ItemsSource = r.getUsuario().ListaCadas;
        }
        public Ranking(List <Usuario> listaUsr)
        {
            foreach (Usuario item in listaUsr)
            {
                RankingClasse Ra = new RankingClasse(item);
                listaRanking.Add(Ra);
            }

            InitializeComponent();
            dataGrid.ItemsSource = null;
            dataGrid.ItemsSource = listaRanking;
            RankingC();
        }