コード例 #1
0
        /// <summary>
        /// Event handler that gets called when the movie import is finished.
        /// </summary>
        private void MovieImportFinished(object sender, CompletedEventArgs args)
        {
            ImportResult result = args.Result;
            movieImporter = null;
            Invoke((Action)(() =>
            {
                btnMovieImportStart.Visible = true;
                btnMovieImportStop.Visible = false;
                progressBar.Visible = false;

                ImportResultsPopup popup = new ImportResultsPopup(result);
                popup.ShowDialog();
            }));
        }
コード例 #2
0
        /// <summary>
        /// Event handler that gets called when the movie import is finished.
        /// </summary>
        private void SessionImportFinished(object sender, CompletedEventArgs args)
        {
            ImportResult result = args.Result;

            sessionImporter = null;
            Invoke((Action)(() =>
            {
                btnSelectSessionFile.Visible = true;
                btnStopSession.Visible = false;
                progressBar.Visible = false;

                ImportResultsPopup popup = new ImportResultsPopup(result);
                popup.ShowDialog();
            }));
        }