OpenFileDialog RestoreDirectory as no effect if Multiselect is set to true
- by Simon T.
We use OpenFileDialog across our application to select files. So far, we never used Multiselect. We set RestoreDirectory to true so that any time we open the dialog we get the user to the last directory used. If I set Multiselect to true, the directory from which the files are selected is not remembered. The dialog shows the last directory used when Multiselect was set to false. By the way, we create a new instance of OpenFileDialog.
The environment:
Windows XP
VS 2008 targeting framework 3.5
C#