C#打开文件对话框非模态可能
问题描述:
是否有可能创建/有一个非模态.NET的OpenFileDialog我在主对话框UI元素,它总是需要可为用户preSS。
Is it possible to create/have a non-modal .net OpenFileDialog I have a UI element in the main dialog which always need to be available for the user to press.
答
没有,的打开文件对话框和 SaveFileDialog 都是从 FileDialog的衍生 ,这本质上是模态的,所以(据我所知)没有创造任何一方的非模式版本的方法。
No, OpenFileDialog and SaveFileDialog are both derived from FileDialog, which is inherently modal, so (as far as I know) there's no way of creating a non-modal version of either of them.