Exemplo n.º 1
0
 private static void bgAction_ProgressChanged(object sender, AsyncActionProgressChangedEventArgs progress)
 {
     if (bgAction.IsCancellationRequested) { return; }
     progressNum = progress.Progress;
     if (progress.UserData != null) { progressDesc = progress.UserData.ToString(); }
 }
Exemplo n.º 2
0
 private void bgAction_ProgressChanged(object sender, AsyncActionProgressChangedEventArgs progress)
 {
     CASCprogress.Value = progress.Progress;
     if (progress.UserData != null) { CASCdesc.Content = progress.UserData; Console.WriteLine(CASCdesc.Content);  }
 }