Ejemplo n.º 1
0
        private void Otworz_dzisiejsza_diete_Click(object sender, RoutedEventArgs e)
        {
            Specific_dietPage page = new Specific_dietPage(DataBase.todayD, this);

            this.grid = page.drawGrid(grid);
            this.grid = page.drawComponent(grid);
        }
Ejemplo n.º 2
0
        private void Dzisiejsza_Dieta_PreviewMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            Diet diet = DataBase.todayD;
            Specific_dietPage page = new Specific_dietPage(diet, this);

            grid = page.drawGrid(grid);
            grid = page.drawComponent(grid);
        }
Ejemplo n.º 3
0
        private void Nastepna_Dieta_PreviewMouseDown(object sender, MouseButtonEventArgs e)
        {
            Diet diet = DataBase.nextDiet;
            Specific_dietPage page = new Specific_dietPage(diet, this);

            grid = page.drawGrid(grid);
            grid = page.drawComponent(grid);
        }
Ejemplo n.º 4
0
        private void Diety_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            int  index             = diety.SelectedIndex;
            Diet diet              = diets[index];
            Specific_dietPage page = new Specific_dietPage(diet, this);

            grid = page.drawGrid(grid);
            grid = page.drawComponent(grid);
        }
Ejemplo n.º 5
0
        private void Polubione_diety_listbox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            int  index             = polubione_diety_listbox.SelectedIndex;
            Diet diet              = DataBase.likedDiets[index];
            Specific_dietPage page = new Specific_dietPage(diet, this);

            grid = page.drawGrid(grid);
            grid = page.drawComponent(grid);
        }