This code sample shows how to open a file dialog box to select a file using two different methods - the first uses the .NET OpenFileDialog class and the second uses a SAFRCFileDlg object. It sets properties like the initial directory, file filters, and restores the directory before showing the dialog and retrieving the file name.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
24 views1 page
WPF OpenFileDialog Implementation Guide
This code sample shows how to open a file dialog box to select a file using two different methods - the first uses the .NET OpenFileDialog class and the second uses a SAFRCFileDlg object. It sets properties like the initial directory, file filters, and restores the directory before showing the dialog and retrieving the file name.