示例#1
0
        public void Startup()
        {
            ingredientList.Ingredients = StartupQueries.GetIngredientList(connectionString);

            ingredientDropdowns.Add(Ingredient1);
            ingredientDropdowns.Add(Ingredient2);
            ingredientDropdowns.Add(Ingredient3);
            ingredientDropdowns.Add(Ingredient4);
            ingredientDropdowns.Add(Ingredient5);
            ingredientDropdowns.Add(Ingredient6);
            ingredientDropdowns.Add(Ingredient7);
            InitializeIngredientsList();
        }
示例#2
0
 public void GetIngredients(string connectionString)
 {
     Ingredients = StartupQueries.GetIngredientList(connectionString);
 }