public CustomerInfrastructureNetworkCablingsControlController(
            CustomerInfrastructureNetworkCablingsControl instance) : base(instance)
        {
            this.controlCustomerInfrastructureNetworkCablings = instance;

            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.srvCustomerInfrastructureNetworkCabling = SamsaraAppContext.Resolve <ICustomerInfrastructureNetworkCablingService>();
                this.srvCustomerInfrastructureNetwork        = SamsaraAppContext.Resolve <ICustomerInfrastructureNetworkService>();
                this.srvNetworkCablingType = SamsaraAppContext.Resolve <INetworkCablingTypeService>();
            }

            this.InitializeControlControls();
        }
Ejemplo n.º 2
0
 public NetworkCablingTypeForm()
 {
     InitializeComponent();
     this.ctrlNetworkCablingTypeForm = new NetworkCablingTypeFormController(this);
     this.srvNetworkCablingType      = SamsaraAppContext.Resolve <INetworkCablingTypeService>();
 }
Ejemplo n.º 3
0
 public NetworkCablingTypeFormController(NetworkCablingTypeForm instance)
 {
     this.frmNetworkCablingType = instance;
     this.srvNetworkCablingType = SamsaraAppContext.Resolve <INetworkCablingTypeService>();
     this.InitializeFormControls();
 }