private void UpdateProgress(ExportStage stage)
 {
     CurrentStatus   = stage.Name;
     IsIndeterminate = stage.AllCount == 0;
     if (!IsIndeterminate)
     {
         Progress = stage.Done * 100f / stage.AllCount;
     }
 }
Ejemplo n.º 2
0
 private static void BankrotClient_ProgressChanged(ExportStage obj)
 {
     Console.WriteLine($"{obj.Name} [{obj.Done} / {obj.AllCount}]");
 }