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 UPSBrandForm() { InitializeComponent(); this.ctrlUPSBrandForm = new UPSBrandFormController(this); this.srvUPSBrand = SamsaraAppContext.Resolve <IUPSBrandService>(); }
public UPSBrandFormController(UPSBrandForm instance) { this.frmUPSBrand = instance; this.srvUPSBrand = SamsaraAppContext.Resolve <IUPSBrandService>(); this.InitializeFormControls(); }