OpenFileDialog dialog = new OpenFileDialog(); dialog.Filter = "All Files (*.*)|*.*"; dialog.Multiselect = false; if (dialog.ShowDialog() == true) { txtKeyPath.Text = dialog.FileName; }
相关文章
- 11-26使用OpenFileDialog()打开文件
- 11-26openFileDialog的Filter属性设置
- 11-26OpenFileDialog 害人的RestoreDirectory
- 11-26Wpf OpenFileDialog
- 11-26鼠标左键向上事件和openfiledialog
- 11-26openFileDialog与saveFileDialog的使用
- 11-26使用OpenFileDialog打开文件和使用FolderBrowserDialog选定文件夹
- 11-26OpenFileDialog
- 11-26在WPF使用FolderBrowserDialog和OpenFileDialog
- 11-26使用OpenFileDialog对话框打开文本文件