public PlayerWindow() { InitializeComponent(); pelaajat = TestHockeyBench.GetThreePlayers(); dataGrid.ItemsSource = pelaajat; SetData(); }
private void InitMyStuff() { players = TestHockeyBench.Get3Players(); dgPlayers.ItemsSource = players; index = 0; SetData(); }
private void Init() { players = TestHockeyBench.Get3Players(); dgPlayers.ItemsSource = players; pointer = 0; SetData(); }