private void fileUploader_UploadFinished(object sender, EventArgs e) { _fileUploader = null; this.State = Constants.FileStates.Finished; FileFinished(sender, e); }
public void Upload(string initParams) { this.State = Constants.FileStates.Uploading; _fileUploader = new WindowsAzureBlobUploader(this, UploadContainerUrl); _fileUploader.StartUpload(initParams); _fileUploader.UploadFinished += new EventHandler(fileUploader_UploadFinished); }