private void loadItems() { DBHandler.loadItemFile(); comboItems.Items.Clear(); comboItems.Items.AddRange(DBHandler.getRange <Ingredient>().ToArray()); }
private void loadRecipes() { DBHandler.loadRecipeFile(); comboRecipes.Items.Clear(); comboRecipes.Items.AddRange(DBHandler.getRange <Recipe>().ToArray()); }
private void ItemDB_Shown(object sender, EventArgs e) { comboBoxIngredients.Items.Clear(); comboBoxIngredients.Items.AddRange(DBHandler.getRange <Ingredient>().ToArray()); }