title: Show progress in dialog
body: <p>I have a process that takes a long time, and I want a window to show the progress.  But, I can't figure how to display the progress.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>if (procced)
  {
      // the wpf windows :
      myLectureFichierEnCour = new LectureFichierEnCour(_myTandemLTEclass);
      myLectureFichierEnCour.Show();
  
      bgw = new BackgroundWorker();
      bgw.DoWork += startThreadProcessDataFromFileAndPutInDataSet;
      bgw.RunWorkerCompleted += threadProcessDataFromFileAndPutInDataSetCompleted;
  
      bgw.RunWorkerAsync();
  }
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>private void startThreadProcessDataFromFileAndPutInDataSet(object sender, DoWorkEventArgs e)
  {
      _myTandemLTEclass.processDataFromFileAndPutInDataSet(
          _strCompositeKey,_strHourToSecondConversion,_strDateField);
  }
  </code></pre>
  
  <p>I can call <code>_myTandemLTEclass.processProgress</code> to get a hint of the progress.</p>