public FrmIngredients_InsertUpdate(bool isInsert, int id = 0)
 {
     InitializeComponent();
     _service  = new Ingredients_Services();
     _isInsert = isInsert;
     _id       = id;
 }
Пример #2
0
 public FrmRecipesInsert(bool isInsert, int id = 0)
 {
     InitializeComponent();
     _rService  = new Recipes_Services();
     _cService  = new Categories_Services();
     _iService  = new Ingredients_Services();
     _riService = new RecipesIngredients_Services();
 }
Пример #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     _rService  = new Recipes_Services();
     _cService  = new Categories_Services();
     _iService  = new Ingredients_Services();
     _riService = new RecipesIngredients_Services();
     _uService  = new Users_Services();
     FillComboBoxes();
     CreateDataTable();
 }
Пример #4
0
 public FrmIngredients(string title)
 {
     InitializeComponent();
     _service = new Ingredients_Services();
     _title   = title;
 }