Exemplo n.º 1
0
        private void open_Dish(Dish dish)
        {
            Specific_dishPage page = new Specific_dishPage(dish, this);

            grid = page.drawGrid(grid);
            grid = page.drawComponent(grid);
        }
Exemplo n.º 2
0
        private void List_SelectionChanged_D(object sender, SelectionChangedEventArgs e)
        {
            int index = list.SelectedIndex;
            Specific_dishPage page = new Specific_dishPage((Dish)list.Items[index], this.page);

            grid = page.drawGrid(grid);
            grid = page.drawComponent(grid);
        }
Exemplo n.º 3
0
        private void dieta_SelectedIndexChanged(object sender, SelectionChangedEventArgs e)
        {
            int  index             = listBox2.SelectedIndex;
            Dish dish              = (Dish)listBox2.Items[index];
            Specific_dishPage page = new Specific_dishPage(dish, this);

            grid = page.drawGrid(grid);
            grid = page.drawComponent(grid);
        }
Exemplo n.º 4
0
        private void HelperD_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            TabItem           item     = (TabItem)tab.Items[tab.SelectedIndex];
            ListBox           tempList = (ListBox)item.Content;
            Specific_dishPage page     = new Specific_dishPage((Dish)tempList.Items[tempList.SelectedIndex], this.page);

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