private void otworz_dzisiejszy_trening_Click(object sender, RoutedEventArgs e) { Specific_trainingPage page = new Specific_trainingPage(DataBase.todayT, this); this.grid = page.drawGrid(grid); this.grid = page.drawComponent(grid); }
private void Dzisiejszy_trening_PreviewMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e) { Training training = DataBase.todayT; Specific_trainingPage page = new Specific_trainingPage(training, this); grid = page.drawGrid(grid); grid = page.drawComponent(grid); }
private void Nastepny_trening_PreviewMouseDown(object sender, MouseButtonEventArgs e) { Training training = DataBase.nextTraining; Specific_trainingPage page = new Specific_trainingPage(training, this); grid = page.drawGrid(grid); grid = page.drawComponent(grid); }
private void Treningi_SelectionChanged(object sender, SelectionChangedEventArgs e) { int index = treningi.SelectedIndex; Training training = trainings[index]; Specific_trainingPage page = new Specific_trainingPage(training, this); grid = page.drawGrid(grid); grid = page.drawComponent(grid); }
private void Polubione_treningi_listbox_SelectionChanged(object sender, SelectionChangedEventArgs e) { int index = polubione_treningi_listbox.SelectedIndex; Training training = DataBase.likedTrainings[index]; Specific_trainingPage page = new Specific_trainingPage(training, this); grid = page.drawGrid(grid); grid = page.drawComponent(grid); }