Beispiel #1
0
        /// <summary>
        /// Method called to upload the given set of files.
        /// </summary>
        /// <param name="files">The list of files to upload to the bucket.</param>
        public void StartDroppedFilesUpload(IEnumerable <string> files)
        {
            // Attempts to set VS as the foreground window so the user can see the progress
            // of the upload operation. Similar to what is done in the Windows explorer.
            ShellUtils.SetForegroundWindow();

            EventsReporterWrapper.ReportEvent(GcsFileBrowserFilesDroppedEvent.Create());

            UploadFiles(files);
        }