title: How to retrieve the last folder used by OpenFileDialog?
body: <p>In my program I use an OpenFileDialog component and I set an initial directory.</p>
  <p>However, if I decide to open a file from another folder, next time I want to open a file, the OpenFileDialog remembers what was last folder I used to open a file and it will open that folder, not the folder specified in InitialDirectory. And I am happy it is this way. Even if I close and reopen the application, the last folder used will still be remembered.</p>
  <p>Is there a way to find out which is folder? Let's say, when I click on a Button, I want the last path displayed in a Label.</p>
  <pre><code>OpenFileDialog ofd = new OpenFileDialog();
  ofd.InitialDirectory = @&quot;C:\My Initial Folder&quot;;
  </code></pre>