public CustomerInfrastructureTelephoniesControlController( CustomerInfrastructureTelephoniesControl instance) : base(instance) { this.controlCustomerInfrastructureTelephonies = instance; if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { this.srvCustomerInfrastructureTelephony = SamsaraAppContext.Resolve <ICustomerInfrastructureTelephonyService>(); this.srvCustomerInfrastructure = SamsaraAppContext.Resolve <ICustomerInfrastructureService>(); this.srvTelephonyProvider = SamsaraAppContext.Resolve <ITelephonyProviderService>(); this.srvTelephonyLineType = SamsaraAppContext.Resolve <ITelephonyLineTypeService>(); } this.InitializeControlControls(); }
public TelephonyProviderFormController(TelephonyProviderForm instance) { this.frmTelephonyProvider = instance; this.srvTelephonyProvider = SamsaraAppContext.Resolve <ITelephonyProviderService>(); this.InitializeFormControls(); }
public TelephonyProviderForm() { InitializeComponent(); this.ctrlTelephonyProviderForm = new TelephonyProviderFormController(this); this.srvTelephonyProvider = SamsaraAppContext.Resolve <ITelephonyProviderService>(); }