WPF 打开文件(OpenFileDialog)/保存文件(SaveFileDialog) 选择基本操作
1.打开文件保存OpenFileDialog包含过滤文件;获取文件完整路径;允许多选privatevoidButton_Click(objectsender,RoutedEventArgse){OpenFileDialogopenFileDialog=newOpenFileDialog();//openFileDialog.Filter="Sql文件(*.sql)|*.sql";//过滤文件类型o