private void marcasDeImpresorasToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; PrinterBrandForm frmPrinterBrand = new PrinterBrandForm(); frmPrinterBrand.Show(); } finally { this.Cursor = Cursors.Default; } }
public PrinterBrandFormController(PrinterBrandForm instance) { this.frmPrinterBrand = instance; this.srvPrinterBrand = SamsaraAppContext.Resolve <IPrinterBrandService>(); this.InitializeFormControls(); }