private void btnGenerar_Click(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; frmArticulosGenerar generar = new frmArticulosGenerar(); generar.ShowDialog(); Cursor.Current = Cursors.Arrow; }
private void btnAceptar_Click(object sender, EventArgs e) { if (rdNuevo.Checked == true) { frmArticulosGenerar articulosGenerar = new frmArticulosGenerar(); articulosGenerar.ShowDialog(); } else { Cursor.Current = Cursors.WaitCursor; frmArticulosGenerarApartir articulosGenerarApartir = new frmArticulosGenerarApartir(bindingSource); articulosGenerarApartir.ShowDialog(); Cursor.Current = Cursors.Arrow; } }