//Add Team
        private void buttonAddAPlayer_Click(object sender, RoutedEventArgs e)
        {
            var addTeam = new AddAPlayerForm();

            addTeam.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            addTeam.ShowDialog();
            LoadData();
            buttonDeleteAPlayer.IsEnabled = false;
            buttonEditAPlayer.IsEnabled   = false;
        }
Пример #2
0
        private void AddAPlayer_Click(object sender, RoutedEventArgs e)
        {
            var addPlayer = new AddAPlayerForm();

            addPlayer.ShowDialog();
        }