public DishesIngredients()
 {
     InitializeComponent();
     SetDishes();
     Ingredients.ItemsSource = SqlDB.GetDataOneAttribute("select [name] from Ingredients", "name");
     Dishes.ItemsSource      = SqlDB.GetDataOneAttribute("select [name] from Dishes", "name");
 }
Exemplo n.º 2
0
 public DishesWindow()
 {
     InitializeComponent();
     Categories.ItemsSource = SqlDB.GetDataOneAttribute("select [name] from Categories", "name");
     SetDishes();
 }