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; } } }
private void cmdNuevaPelicula_Click(object sender, EventArgs e) { FPelicula ventana = new FPelicula(); ventana.CrearNuevaPelicula(); }