private void marcasDeComputadorasToolStripMenuItem_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; ComputerBrandForm frmComputerBrand = new ComputerBrandForm(); frmComputerBrand.Show(); } finally { this.Cursor = Cursors.Default; } }
public ComputerBrandFormController(ComputerBrandForm instance) { this.frmComputerBrand = instance; this.srvComputerBrand = SamsaraAppContext.Resolve <IComputerBrandService>(); this.InitializeFormControls(); }