public FrmIngredients_InsertUpdate(bool isInsert, int id = 0) { InitializeComponent(); _service = new Ingredients_Services(); _isInsert = isInsert; _id = id; }
public FrmRecipesInsert(bool isInsert, int id = 0) { InitializeComponent(); _rService = new Recipes_Services(); _cService = new Categories_Services(); _iService = new Ingredients_Services(); _riService = new RecipesIngredients_Services(); }
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(); }
public FrmIngredients(string title) { InitializeComponent(); _service = new Ingredients_Services(); _title = title; }