Esempio n. 1
0
        private void fileUploader_UploadFinished(object sender, EventArgs e)
        {
            _fileUploader = null;

            this.State = Constants.FileStates.Finished;

            FileFinished(sender, e);
        }
Esempio n. 2
0
        public void Upload(string initParams)
        {
            this.State = Constants.FileStates.Uploading;

            _fileUploader = new WindowsAzureBlobUploader(this, UploadContainerUrl);
            _fileUploader.StartUpload(initParams);
            _fileUploader.UploadFinished += new EventHandler(fileUploader_UploadFinished);
        }