public AddEmployee(int EBranchID, int EManagerID, string type) { InitializeComponent(); EmC = new EmController(); id = EmC.CountEmployees() + 1; BranchID = EBranchID; ManagerID = EManagerID; UserType = type; if (UserType == "Manager") { label9.Visible = false; comboBox2.Visible = false; } }