Ejemplo n.º 1
0
        public CustomerInfrastructureCCTVsControlController(
            CustomerInfrastructureCCTVsControl instance) : base(instance)
        {
            this.controlCustomerInfrastructureCCTVs = instance;

            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.srvCustomerInfrastructureCCTV = SamsaraAppContext.Resolve <ICustomerInfrastructureCCTVService>();
                this.srvCustomerInfrastructure     = SamsaraAppContext.Resolve <ICustomerInfrastructureService>();
                this.srvCCTVBrand = SamsaraAppContext.Resolve <ICCTVBrandService>();
                this.srvCCTVType  = SamsaraAppContext.Resolve <ICCTVTypeService>();
            }

            this.InitializeControlControls();
        }
 public CCTVTypeFormController(CCTVTypeForm instance)
 {
     this.frmCCTVType = instance;
     this.srvCCTVType = SamsaraAppContext.Resolve <ICCTVTypeService>();
     this.InitializeFormControls();
 }
Ejemplo n.º 3
0
 public CCTVTypeForm()
 {
     InitializeComponent();
     this.ctrlCCTVTypeForm = new CCTVTypeFormController(this);
     this.srvCCTVType      = SamsaraAppContext.Resolve <ICCTVTypeService>();
 }