protected void OnProgress(ImportExportProgress Where)
 {
     if (_Progress != null)
     {
         _Progress(this, Where);
     }
 }
 private void ProgressExport(ImportExportProgress pea)
 {
     if (!pea.ImportEnded)
     {
         Status = pea.ToString();
     }
     else
     {
         MessageBoxProgress(pea);
         Status = string.Empty;
     }
 }
 private void MessageBoxProgress(ImportExportProgress pea)
 {
     this.Window.ShowMessage(pea.Operation, pea.Operation, pea.Entity, false);
 }
 private void OnImportProgress(ImportExportProgress progress)
 {
     if (!progress.ImportEnded)
     {
         _Importing = true;
         Status = progress.ToString();
     }
     else
     {
         _Importing = false;
         Status = null;
     }
 }
 private void Progress(ImportExportProgress pea)
 {
     if (pea.ImportEnded)
         MessageBoxProgress(pea);
 }