简体   繁体   English

C#打开资源管理器窗口

[英]c# open explorer window ont top

I'm using 我正在使用

System.Diagnostics.Process.Start("explorer", Application.StartupPath); System.Diagnostics.Process.Start(“ explorer”,Application.StartupPath);

To open the applications path with a button press, but the window opens behind my application, how can I get it on top? 要通过按按钮打开应用程序路径,但是窗口在我的应用程序后面打开,如何在顶部显示它?

It may be due to TopMost property of the form may be true, or any of the properties of the form is making your application to stay on top. 可能是由于该窗体的TopMost属性可能为true,或者该窗体的任何属性使您的应用程序停留在最前面。 Just try to change the form properties and you will get the required result 只需尝试更改表单属性,您将获得所需的结果

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM