Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
        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);
        }
Exemplo n.º 5
0
        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);
        }