Exemple #1
0
        private void EditLeague(object sender, RoutedEventArgs e)
        {
            EditLeagueWindow edit = new EditLeagueWindow(Leaguegrid.SelectedItem as League, token);

            edit.Show();
            this.Close();
        }
        private void EditLeagueClick(object sender, RoutedEventArgs e)
        {
            EditLeagueWindow editLeagueWindow = new EditLeagueWindow(cbox.SelectedItem as League, token);

            editLeagueWindow.Show();
        }