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();
        }
Beispiel #2
0
 public NetworkCablingTypeForm()
 {
     InitializeComponent();
     this.ctrlNetworkCablingTypeForm = new NetworkCablingTypeFormController(this);
     this.srvNetworkCablingType      = SamsaraAppContext.Resolve <INetworkCablingTypeService>();
 }
Beispiel #3
0
 public NetworkCablingTypeFormController(NetworkCablingTypeForm instance)
 {
     this.frmNetworkCablingType = instance;
     this.srvNetworkCablingType = SamsaraAppContext.Resolve <INetworkCablingTypeService>();
     this.InitializeFormControls();
 }