public WarrantyTypeFormController(WarrantyTypeForm instance) { this.frmWarrantyType = instance; this.srvWarrantyType = SamsaraAppContext.Resolve <IWarrantyTypeService>(); Assert.IsNotNull(this.srvWarrantyType); this.InitializeFormControls(); }
private void tiposDeFianzasToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; WarrantyTypeForm frmWarrantyType = new WarrantyTypeForm(); frmWarrantyType.Show(); } finally { this.Cursor = Cursors.Default; } }