Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何实现一个能够进行多选的 openfiledialog?我是否需要一个额外的库,或者 WPF-Control OpenFileDialog 也可以?
我认为 OpenFileDialog 有一个属性是 MultiSelect。
所以你可以这样做。
OpenFileDialog dlg = new OpenFileDialog(); dlg.MultiSelect = true; dlg.Show();