private void button_Click(object sender, RoutedEventArgs e)
{
//这个选出来是文件夹
//选择文件
var openFileDialog = new Microsoft.Win32.OpenFileDialog()
{
Filter = "Revit Files (*.rvt)|*.rvt"
};
var result = openFileDialog.ShowDialog();
if (result == true)
{
textBox1.Text = openFileDialog.FileName;
}
}