private void btnNuevaFila_Click(object sender, EventArgs e)
 {
     var frm = new Frm_AyudaConfiguracionPlla();
     frm.Owner = this;
     frm.Formulario = this;
     frm.TipoPlanilla = cboTipoPlanilla.SelectedValue.ToString().Trim();
     frm.TipoRubro = "I";
     frm.PasaRubro2 = NUEVAFILA;
     frm.ShowDialog();
 }
 private void btnNuevaFila_Click(object sender, EventArgs e)
 {
     var f = new Frm_AyudaConfiguracionPlla();
     f.Owner = this;
     f.Formulario = this;
     f.TipoPlanilla = cmbtipoplanilla.SelectedValue.ToString();
     f.PasaRubro2 = Rubros;
     f._DescartaRubros = string.Empty;
     for (lc_cont = 0; lc_cont <= Tabla.Rows.Count - 1; lc_cont++)
     {
         if ((!object.ReferenceEquals(Tabla.Rows[lc_cont]["rubroid"], DBNull.Value)))
         {
             if (Tabla.Rows[lc_cont]["rubroid"].ToString().Trim().Length > 0)
             {
                 f._DescartaRubros = f._DescartaRubros + Tabla.Rows[lc_cont]["rubroid"] + "_";
             }
         }
     }
     f.ShowDialog();
 }
 private void btnNuevaFila_Click(object sender, EventArgs e)
 {
     var f = new Frm_AyudaConfiguracionPlla();
     f.Owner = this;
     f.Formulario = this;
     f.TipoPlanilla = cbPlanilla.SelectedValue.ToString();
     f.TipoRubro = cboTipoRubro.SelectedValue.ToString();
     f.PasaRubro2 = Rubros;
     f.ShowDialog();
 }