Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var openFileDialog = new OpenFileDialog
- {
- InitialFileName = "test",
- Title = "Title",
- Filters = new System.Collections.Generic.List<FileDialogFilter>()
- {
- new FileDialogFilter()
- {
- Extensions = new System.Collections.Generic.List<string>() {".mp3", ".avi"}
- }
- }
- };
- _pathButton.Content = openFileDialog.ShowAsync().Result[0];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement