问题
It seems that my application is remembering previously saved/opened files. How can clear the recent history and prevent the application from keeping track of saved/opened files in the future?
I want to be able to do this from the application, without requiring client involvement.
I suppose that the information is saved to the registry.
回答1:
Where is recently opened files
And then delete them: How to delete a registry value in C#
回答2:
just: openfiledialog.FileName = "";
来源:https://stackoverflow.com/questions/12296229/how-to-clear-a-filedialogs-dropdown-history