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 cmdNuevoActor_Click(object sender, EventArgs e) { FActor ventana = new FActor(); ventana.CrearNuevoActor(); }