Ejemplo n.º 1
0
        public CustomerInfrastructureNetworkRoutersControlController(
            CustomerInfrastructureNetworkRoutersControl instance)
            : base(instance)
        {
            this.controlCustomerInfrastructureNetworkRouters = instance;

            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.srvCustomerInfrastructureNetworkRouter = SamsaraAppContext.Resolve <ICustomerInfrastructureNetworkRouterService>();
                this.srvCustomerInfrastructureNetwork       = SamsaraAppContext.Resolve <ICustomerInfrastructureNetworkService>();
                this.srvRouterBrand = SamsaraAppContext.Resolve <IRouterBrandService>();
            }

            this.InitializeControlControls();
        }
Ejemplo n.º 2
0
 public RouterBrandForm()
 {
     InitializeComponent();
     this.ctrlRouterBrandForm = new RouterBrandFormController(this);
     this.srvRouterBrand      = SamsaraAppContext.Resolve <IRouterBrandService>();
 }
Ejemplo n.º 3
0
 public RouterBrandFormController(RouterBrandForm instance)
 {
     this.frmRouterBrand = instance;
     this.srvRouterBrand = SamsaraAppContext.Resolve <IRouterBrandService>();
     this.InitializeFormControls();
 }