public void CargarSprints_click(Object sender, System.EventArgs e) { label1.Text = "Seleccione un Sprint o una opción válida para continuar"; Button B = (Button)sender; String NumeroBoton = B.Name; NumeroBoton = NumeroBoton.Remove(0, 5); int ID_Boton = Convert.ToInt32(NumeroBoton); DataRow ID_Release = Releases.Tables[0].Rows[ID_Boton]; idRelease = Convert.ToInt32(ID_Release["id"].ToString()); Sprints = ConexionMetodos.CargarSprints(idRelease); CrearBotones(panel3, Sprints); panel3.Visible = true; panel2.Visible = false; }