private void uploadFilm_Click(object sender, EventArgs e) { Film film = theFilms[films.SelectedItems[0].Index]; film.AssetName = Guid.NewGuid().ToString(); UploadFilmForm form = new UploadFilmForm(this, _apiService, film, _config.Values.GetSection("AdminKey").Value); form.ShowDialog(); }
private void uploadFilmCollection_Click(object sender, EventArgs e) { FilmCollection col = (FilmCollection)filmCollections.SelectedItem; Film film = col.Film; film.AssetName = Guid.NewGuid().ToString(); UploadFilmForm form = new UploadFilmForm(this, _apiService, film, _config.Values.GetSection("AdminKey").Value); form.ShowDialog(); }