public CustomerInfrastructurePrinterClassificationFormController(CustomerInfrastructurePrinterClassificationForm instance) { this.frmCustomerInfrastructurePrinterClassification = instance; this.srvCustomerInfrastructurePrinterClassification = SamsaraAppContext.Resolve <ICustomerInfrastructurePrinterClassificationService>(); Assert.IsNotNull(this.srvCustomerInfrastructurePrinterClassification); this.InitializeFormControls(); }
public CustomerInfrastructurePrinterClassificationForm() { InitializeComponent(); this.ctrlCustomerInfrastructurePrinterClassificationForm = new CustomerInfrastructurePrinterClassificationFormController(this); this.srvCustomerInfrastructurePrinterClassification = SamsaraAppContext.Resolve <ICustomerInfrastructurePrinterClassificationService>(); Assert.IsNotNull(this.srvCustomerInfrastructurePrinterClassification); }