示例#1
0
 public OperativeSystemFormController(OperativeSystemForm instance)
 {
     this.frmOperativeSystem     = instance;
     this.srvOperativeSystem     = SamsaraAppContext.Resolve <IOperativeSystemService>();
     this.srvOperativeSystemType = SamsaraAppContext.Resolve <IOperativeSystemTypeService>();
     this.InitializeFormControls();
 }
示例#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();
        }
示例#3
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();
        }
示例#4
0
 public OperativeSystemController(IOperativeSystemService operativeSystemService)
 {
     _operativeSystemService = operativeSystemService;
 }
 public OperativeSystemForm()
 {
     InitializeComponent();
     this.ctrlOperativeSystemForm = new OperativeSystemFormController(this);
     this.srvOperativeSystem      = SamsaraAppContext.Resolve <IOperativeSystemService>();
 }