public OperativeSystemFormController(OperativeSystemForm instance) { this.frmOperativeSystem = instance; this.srvOperativeSystem = SamsaraAppContext.Resolve <IOperativeSystemService>(); this.srvOperativeSystemType = SamsaraAppContext.Resolve <IOperativeSystemTypeService>(); this.InitializeFormControls(); }
public OperativeSystemTypeForm() { InitializeComponent(); this.ctrlOperativeSystemTypeForm = new OperativeSystemTypeFormController(this); this.srvOperativeSystemType = SamsaraAppContext.Resolve <IOperativeSystemTypeService>(); }