Exemplo n.º 1
0
        private void Event_Select_England(object sender, RoutedEventArgs e)
        {
            //load Team England
            Console.WriteLine("England ist angewählt");

            DBAdapter.GetPlayersFromNation(3);
            //StatusColor = "Orange";
        }
Exemplo n.º 2
0
        public void Event_Select_Swiss(object sender, RoutedEventArgs e)
        {
            //load Team Schweiz
            Console.WriteLine("Schweiz ist angewählt");

            DBAdapter.GetPlayersFromNation(1);
            //StatusColor = "Red";
        }
Exemplo n.º 3
0
        private void Event_Select_France(object sender, RoutedEventArgs e)
        {
            //load Team Frankreich
            Console.WriteLine("Frankreich ist angewählt");

            DBAdapter.GetPlayersFromNation(2);
            //StatusColor = "Blue";
        }
Exemplo n.º 4
0
 public ManagerViewModel()
 {
     positionlist = DBAdapter.GetAllPositions();
     teamlist     = DBAdapter.GetAllTeams();
     playerslist  = DBAdapter.GetPlayersFromNation(1);
 }