public void CargarUserStory_click(Object sender, System.EventArgs e) { label1.Text = "Seleccione un UserStory 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_Sprint = Sprints.Tables[0].Rows[ID_Boton]; idSprint = Convert.ToInt32(ID_Sprint["id"].ToString()); UserStories = ConexionMetodos.CargarUserStories(idSprint); CrearBotones(panel4, UserStories); panel4.Visible = true; panel3.Visible = false; }