C#打开文件对话框非模态可能 [英] C# OpenFileDialog Non-Modal possible

查看:161
本文介绍了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.

这篇关于C#打开文件对话框非模态可能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆