Exemple #1
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();
        }
Exemple #2
0
        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();
 }
Exemple #4
0
 public ComputerBrandForm()
 {
     InitializeComponent();
     this.ctrlComputerBrandForm = new ComputerBrandFormController(this);
     this.srvComputerBrand      = SamsaraAppContext.Resolve <IComputerBrandService>();
 }