public CustomerInfrastructureBackupSoftwaresControlController( CustomerInfrastructureBackupSoftwaresControl instance) : base(instance) { this.controlCustomerInfrastructureBackupSoftwares = instance; if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { this.srvCustomerInfrastructureBackupSoftware = SamsaraAppContext.Resolve <ICustomerInfrastructureBackupSoftwareService>(); this.srvCustomerInfrastructure = SamsaraAppContext.Resolve <ICustomerInfrastructureService>(); this.srvBackupSoftwareBrand = SamsaraAppContext.Resolve <IBackupSoftwareBrandService>(); this.srvCustomerInfrastructureServerComputer = SamsaraAppContext.Resolve <ICustomerInfrastructureServerComputerService>(); } this.InitializeControlControls(); }
public BackupSoftwareBrandFormController(BackupSoftwareBrandForm instance) { this.frmBackupSoftwareBrand = instance; this.srvBackupSoftwareBrand = SamsaraAppContext.Resolve <IBackupSoftwareBrandService>(); this.InitializeFormControls(); }
public BackupSoftwareBrandForm() { InitializeComponent(); this.ctrlBackupSoftwareBrandForm = new BackupSoftwareBrandFormController(this); this.srvBackupSoftwareBrand = SamsaraAppContext.Resolve <IBackupSoftwareBrandService>(); }