public MainWindow() { InitializeComponent(); ListBoxRecipeList.ItemsSource = handler.GetAllRecipies(); DtgAllIngredients.ItemsSource = handler.GetAllIngredients(); cbbxIngType.ItemsSource = IngredientType.GetValues(typeof(IngredientType)).Cast <IngredientType>(); DTGIng.ItemsSource = handler.GetAllIngredients(); }