Пример #1
0
 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;
     }
 }
 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;
     }
 }