简体   繁体   中英

Show “save dialog” on top of the “main program” in C# when clicked on taskbar in Windows

Problem: When a simulation is complete a "save dialog" pops up. When clicked on the "main program" in the Windows taskbar, both the "main program" and the "save dialog" should come on top of other open windows. Right now just the "main program" is showing while the "save dialog is hidden in the background and all windows has to be minimized to see it. How to solve this?

调用ShowDialog方法使您将FileFileDialog保存为模式对话框

saveFileDialog1.ShowDialog();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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