コード例 #1
0
        private void open_Dish(Dish dish)
        {
            Specific_dishPage page = new Specific_dishPage(dish, this);

            grid = page.drawGrid(grid);
            grid = page.drawComponent(grid);
        }
コード例 #2
0
ファイル: Helper.cs プロジェクト: KacperTurkowski/FITAPP
        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);
        }
コード例 #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);
        }
コード例 #4
0
ファイル: Helper.cs プロジェクト: KacperTurkowski/FITAPP
        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);
        }