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 TelephonyLineTypeForm() { InitializeComponent(); this.ctrlTelephonyLineTypeForm = new TelephonyLineTypeFormController(this); this.srvTelephonyLineType = SamsaraAppContext.Resolve <ITelephonyLineTypeService>(); }
public TelephonyLineTypeFormController(TelephonyLineTypeForm instance) { this.frmTelephonyLineType = instance; this.srvTelephonyLineType = SamsaraAppContext.Resolve <ITelephonyLineTypeService>(); this.InitializeFormControls(); }