Exemple #1
0
        private void loadItems()
        {
            DBHandler.loadItemFile();

            comboItems.Items.Clear();

            comboItems.Items.AddRange(DBHandler.getRange <Ingredient>().ToArray());
        }
Exemple #2
0
        private void loadRecipes()
        {
            DBHandler.loadRecipeFile();

            comboRecipes.Items.Clear();

            comboRecipes.Items.AddRange(DBHandler.getRange <Recipe>().ToArray());
        }
Exemple #3
0
 private void ItemDB_Shown(object sender, EventArgs e)
 {
     comboBoxIngredients.Items.Clear();
     comboBoxIngredients.Items.AddRange(DBHandler.getRange <Ingredient>().ToArray());
 }