Exemple #1
0
        public CustomerInfrastructureISPsControlController(
            CustomerInfrastructureISPsControl instance)
            : base(instance)
        {
            this.controlCustomerInfrastructureISPs = instance;

            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.srvCustomerInfrastructureISP = SamsaraAppContext.Resolve <ICustomerInfrastructureISPService>();
                this.srvCustomerInfrastructure    = SamsaraAppContext.Resolve <ICustomerInfrastructureService>();
                this.srvISP = SamsaraAppContext.Resolve <IISPService>();

                this.InitializeControlControls();
            }
        }
 public ISPFormController(ISPForm instance)
 {
     this.frmISP = instance;
     this.srvISP = SamsaraAppContext.Resolve <IISPService>();
     this.InitializeFormControls();
 }
Exemple #3
0
 public ISPForm()
 {
     InitializeComponent();
     this.ctrlISPForm = new ISPFormController(this);
     this.srvISP      = SamsaraAppContext.Resolve <IISPService>();
 }