private void tiposDeImpresorasToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; PrinterTypeForm frmPrinterType = new PrinterTypeForm(); frmPrinterType.Show(); } finally { this.Cursor = Cursors.Default; } }
public PrinterTypeFormController(PrinterTypeForm instance) { this.frmPrinterType = instance; this.srvPrinterType = SamsaraAppContext.Resolve <IPrinterTypeService>(); this.InitializeFormControls(); }