Ejemplo n.º 1
0
        private async void ListViewItem_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            try
            {
                var obj       = sender as ListViewItem;
                var player    = obj.Content as Player;
                var matchList = new List <Match>();

                matchList = await ViewModel.GetMatchList(player);

                new MatchView(matchList, player).Show();
            }
            catch (Exception ee)
            {
                MessageBox.Show(ee.Message);
            }
        }