public MaintenanceMenuControl(HomeControl form) { InitializeComponent(); this.form = form; equimentType = new EquipmentTypeControl(); user = new UsersControl(); brand = new BrandControl(); model = new ModelsControl(); technologies = new TechnologiesConnectionControl(); equipo = new EquimentControl(); employeesControl = new EmployeesControl(); rentReturnsControl = new RentReturnsControl(); }
internal LiveAssetReader(HttpContext context) { DateTime start = DateTime.MinValue; DateTime end = DateTime.MinValue; try { this.Initialize(); if (LiveAssetReader.isInitialized) { start = DateTime.UtcNow; this.aleStringsAgent = new AleStringsAgent(context); end = DateTime.UtcNow; if (BrandingUtilities.IsBranded()) { this.brandControl = BrandControl.Create(context); } this.InitializeEnvironmentQualifier(); CobrandingAssetReader.initializeErrorLogged = false; } } catch (Exception e) { base.LogInitializeException(e, ClientsEventLogConstants.Tuple_LiveHeaderConfigurationError); } finally { try { context.Response.AppendToLog(this.GetDurationLogMessage("Ale", start, end)); } catch { } } }
public IEnumerable <ServiceBrand> GetAllBrands() { BrandControl brandControl = new BrandControl(); return(brandControl.GetAllBrands()); }