Esempio n. 1
0
 public static void OnLoad(XmlHttpRequestProgressEvent arg)
 {
     SkyDrive.SetTextBox("DONE " + CurrentFile.Name);
     Files.Remove(CurrentFile);
     CurrentFile = null;
     LoadNextFile();
 }
Esempio n. 2
0
 public static void OnUploadProgress(XmlHttpRequestProgressEvent arg)
 {
     //int progress = (int)(((ulong)arg.Loaded / CurrentFile.Size) * 100);
     PB.ProgressBar(new ProgressBarOptions("value", arg.Loaded));
     //SkyDrive.SetProgressTextBox(string.Format("{2} Loaded:{0}, Total:{1}, {3}%", arg.Loaded, CurrentFile.Size, (Counter++), progress));
 }
Esempio n. 3
0
 public static void OnUploadError(XmlHttpRequestProgressEvent arg)
 {
     SkyDrive.SetTextBox("Error During Upload");
 }