Esempio n. 1
0
 private void DownloadStatus(EmiliaFileStatusSegment efss)
 {
     downloaded_size += efss.DownloadSize;
     Application.Current.Dispatcher.BeginInvoke(new Action(
                                                    delegate
     {
         ProgressSize.Text = ((double)downloaded_size / 1000 / 1000).ToString("#,#.#") + " MB";
     }));
 }
 private void Instance_DownloadStatus(object sender, EmiliaFileStatusSegment e)
 {
     System.Threading.Interlocked.Add(ref status_size, e.DownloadSize);
 }