Example #1
0
        private void EditarElementoLista(string tipo, long id)
        {
            switch (tipo)
            {
            case "Peliculas":
            {
                FPelicula form = new FPelicula();
                form.Editar(id);
                break;
            }

            case "Series":
            {
                FSerie form = new FSerie();
                form.Editar(id);
                break;
            }

            case "Actores":
            {
                FActor form = new FActor();
                form.Editar(id);
                break;
            }
            }
        }
Example #2
0
        private void cmdNuevaSerie_Click(object sender, EventArgs e)
        {
            FSerie ventana = new FSerie();

            ventana.CrearNuevaSerie();
        }