예제 #1
0
        public void CargarReleases_click(Object sender, System.EventArgs e)
        {
            label1.Text = "Seleccione un Release 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_Proyecto = Proyectos.Tables[0].Rows[ID_Boton];

            idProyecto = Convert.ToInt32(ID_Proyecto["id"].ToString());

            Releases = ConexionMetodos.CargarReleases(idProyecto);
            CrearBotones(panel2, Releases);

            panel2.Visible = true;
            panel1.Visible = false;

            BotonAtras.Enabled = true;
        }