private void OnBurningStarted(BurningStartedEventArgs e)
 {
     IsBurningInprogress = true;
     IsBurningNotInProgress = false;
     e.BurningOperationToken.RunWhenCompleated(
         s =>
         {
             IsBurningInprogress = false;
             IsBurningNotInProgress = true;
         });
 }
Example #2
0
 private void OnBurningStarted(BurningStartedEventArgs e)
 {
     var progressController = new TaskbarProgressViewModelController(TaskbarProgress, e.BurningOperationToken.Progress);
     e.BurningOperationToken.RunWhenCompleated(s => progressController.Dispose());
 }