x

需求是想让WPF打开一个指定文件路径的文件夹,但是搜出来的八成都是<打开文件>的这样的↓

            Microsoft.Win32.OpenFileDialog open_file = new OpenFileDialog();
            open_file.ShowDialog();
       
//...

 

经过搜索,正确是这样的↓

System.Diagnostics.Process.Start(AppDomain.CurrentDomain.BaseDirectory);

 

相关文章: