public CustomerInfrastructureServerComputersControlController( CustomerInfrastructureServerComputersControl instance) : base(instance) { this.controlCustomerInfrastructureServerComputers = instance; if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { this.srvCustomerInfrastructureServerComputer = SamsaraAppContext.Resolve <ICustomerInfrastructureServerComputerService>(); this.srvCustomerInfrastructure = SamsaraAppContext.Resolve <ICustomerInfrastructureService>(); this.srvComputerBrand = SamsaraAppContext.Resolve <IComputerBrandService>(); this.srvOperativeSystem = SamsaraAppContext.Resolve <IOperativeSystemService>(); } this.InitializeControlControls(); }
public ServerConsultingOldServerComputersControlController( ServerConsultingOldServerComputersControl instance) : base(instance) { this.ctlServerConsultingOldServerComputers = instance; if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { this.srvServerConsultingOldServerComputer = SamsaraAppContext.Resolve <IServerConsultingOldServerComputerService>(); this.srvServerComputerType = SamsaraAppContext.Resolve <IServerComputerTypeService>(); this.srvServerConsulting = SamsaraAppContext.Resolve <IServerConsultingService>(); this.srvOperativeSystem = SamsaraAppContext.Resolve <IOperativeSystemService>(); this.srvComputerBrand = SamsaraAppContext.Resolve <IComputerBrandService>(); this.srvRackType = SamsaraAppContext.Resolve <IRackTypeService>(); } this.InitializeControlControls(); }
public ComputerBrandFormController(ComputerBrandForm instance) { this.frmComputerBrand = instance; this.srvComputerBrand = SamsaraAppContext.Resolve <IComputerBrandService>(); this.InitializeFormControls(); }
public ComputerBrandForm() { InitializeComponent(); this.ctrlComputerBrandForm = new ComputerBrandFormController(this); this.srvComputerBrand = SamsaraAppContext.Resolve <IComputerBrandService>(); }