Example #1
0
        public CustomerInfrastructureServerComputerDBMSsControlController(
            CustomerInfrastructureServerComputerDBMSsControl instance) : base(instance)
        {
            this.controlCustomerInfrastructureServerComputerDBMSs = instance;

            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.srvCustomerInfrastructureServerComputerDBMS = SamsaraAppContext.Resolve <ICustomerInfrastructureServerComputerDBMSService>();
                this.srvCustomerInfrastructureServerComputer     = SamsaraAppContext.Resolve <ICustomerInfrastructureServerComputerService>();
                this.srvDBMS = SamsaraAppContext.Resolve <IDBMSService>();
            }

            this.InitializeControlControls();
        }
Example #2
0
        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();
        }