예제 #1
0
        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();
        }
예제 #2
0
        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();
        }