Exemplo n.º 1
0
 private void ManagementLoaded(object sender, RoutedEventArgs e)
 {
     try
     {
         mg = new ManagementModel();
         lv_itemsCategory.ItemsSource      = mg.GetAllCategory();
         lv_menu.ItemsSource               = mg.GetAllMenu();
         lv_menuOption.ItemsSource         = mg.GetMenuOptions();
         lv_ingredientCategory.ItemsSource = mg.GetAllIngredientCat();
     }
     catch (Exception ex)
     {
     }
 }
Exemplo n.º 2
0
 private void onCloseCUMenu(object sender, DialogOpenedEventArgs eventArgs)
 {
     lv_menu.ItemsSource = mg.GetAllMenu();
 }