public CustomerInfrastructureNetworkFirewallsControlController( CustomerInfrastructureNetworkFirewallsControl instance) : base(instance) { this.controlCustomerInfrastructureNetworkFirewalls = instance; if (LicenseManager.UsageMode != LicenseUsageMode.Designtime) { this.srvCustomerInfrastructureNetworkFirewall = SamsaraAppContext.Resolve <ICustomerInfrastructureNetworkFirewallService>(); this.srvCustomerInfrastructureNetwork = SamsaraAppContext.Resolve <ICustomerInfrastructureNetworkService>(); this.srvFirewallBrand = SamsaraAppContext.Resolve <IFirewallBrandService>(); } this.InitializeControlControls(); }
public FirewallBrandForm() { InitializeComponent(); this.ctrlFirewallBrandForm = new FirewallBrandFormController(this); this.srvFirewallBrand = SamsaraAppContext.Resolve <IFirewallBrandService>(); }
public FirewallBrandFormController(FirewallBrandForm instance) { this.frmFirewallBrand = instance; this.srvFirewallBrand = SamsaraAppContext.Resolve <IFirewallBrandService>(); this.InitializeFormControls(); }