文件对话框 - 获得目录
System.Windows.Forms.FolderBrowserDialog folderBrowserDialog =
new System.Windows.Forms.FolderBrowserDialog();
System.Windows.Forms.DialogResult result = folderBrowserDialog.ShowDialog();
if (result == System.Windows.Forms.DialogResult.OK)
{
textBlock_input.Text = folderBrowserDialog.SelectedPath;
}