private void dataListado_DoubleClick(object sender, EventArgs e) { Frmarticulo form = Frmarticulo._GetInstancia(); string par1, par2; par1 = Convert.ToString(this.dataListado.CurrentRow.Cells["idcategoria"].Value); par2 = Convert.ToString(this.dataListado.CurrentRow.Cells["nombre"].Value); form.setCategoria(par1, par2); this.Hide(); }