Пример #1
0
        private void loadItems()
        {
            DBHandler.loadItemFile();

            comboItems.Items.Clear();

            comboItems.Items.AddRange(DBHandler.getRange <Ingredient>().ToArray());
        }
Пример #2
0
        private void loadRecipes()
        {
            DBHandler.loadRecipeFile();

            comboRecipes.Items.Clear();

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