Esempio n. 1
0
        private void FormNewIngr_Load(object sender, EventArgs e)
        {
            DBConnect.getAllIngr(ref dataGridViewAllIngr);

            DBConnect.FillBindingList(ref categoriesIngrs, "KATEGORIA_INGREDIENT", "NAME_KATEG_INGR");
            comboBoxIngrCategory.DataSource = categoriesIngrs;
        }
Esempio n. 2
0
 private void FormNewRecept_Load(object sender, EventArgs e)
 {
     DBConnect.FillBindingList(ref categoriesRec, "KATEGORIA_RECEPT", "NAME_KATEG_REC");
     comboBoxCategory.DataSource = categoriesRec;
     DBConnect.FillBindingList(ref typeCuis, "CUISINE", "NAME_CUISINE");
     comboBoxCuisine.DataSource = typeCuis;
     //*2
     //DBConnect.FillBindingList(ref categoriesIngrs, "KATEGORIA_INGREDIENT", "NAME_KATEG_INGR");
     //comboBoxIngrCategory.DataSource = categoriesIngrs;
 }
Esempio n. 3
0
 private void FormFilterByCategory_Load(object sender, EventArgs e)
 {
     DBConnect.FillBindingList(ref categoriesRecept, "KATEGORIA_RECEPT", "NAME_KATEG_REC");
     comboBoxSelectedCategories.DataSource = categoriesRecept;
 }
Esempio n. 4
0
 private void Filter_Load(object sender, EventArgs e)
 {
     DBConnect.FillBindingList(ref categoriesIngr, "KATEGORIA_INGREDIENT", "NAME_KATEG_INGR");
     comboBoxSelectCategory.DataSource = categoriesIngr;
 }