public CustomerInfrastructureUPSsControlController( CustomerInfrastructureUPSsControl instance) : base(instance) { this.controlCustomerInfrastructureUPSs = instance; if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { this.srvCustomerInfrastructureUPS = SamsaraAppContext.Resolve <ICustomerInfrastructureUPSService>(); this.srvCustomerInfrastructure = SamsaraAppContext.Resolve <ICustomerInfrastructureService>(); this.srvUPSBrand = SamsaraAppContext.Resolve <IUPSBrandService>(); this.srvUPSType = SamsaraAppContext.Resolve <IUPSTypeService>(); } this.InitializeControlControls(); }
public UPSTypeForm() { InitializeComponent(); this.ctrlUPSTypeForm = new UPSTypeFormController(this); this.srvUPSType = SamsaraAppContext.Resolve <IUPSTypeService>(); }
public UPSTypeFormController(UPSTypeForm instance) { this.frmUPSType = instance; this.srvUPSType = SamsaraAppContext.Resolve <IUPSTypeService>(); this.InitializeFormControls(); }