Пример #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;
            }
            }
        }
Пример #2
0
        private void cmdNuevaPelicula_Click(object sender, EventArgs e)
        {
            FPelicula ventana = new FPelicula();

            ventana.CrearNuevaPelicula();
        }