public formBoss(IUsersAPI apiUsers, IEmployeesAPI apiEmployees, IProductsAPI apiProducts, IIngredientsAPI apiIngredients) { InitializeComponent(); panelSub = new FlowLayoutPanel(); buttons = new List <Button>(); exit = false; type = 0; //Asignamos las variables api _apiUsers = apiUsers; _apiEmployees = apiEmployees; _apiProducts = apiProducts; _apiIngredients = apiIngredients; }
public formNewEmployee(IEmployeesAPI api) { InitializeComponent(); _api = api; }