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.
我有一个非对话框窗口,在用户双击进度条后打开。
每次打开时,它都会短暂停留在前台,然后将其拖入后台(隐藏在主应用程序窗口的后面,即带有进度条的窗口)。
我想让它保持在顶部窗口,我不想让它成为最顶部的。
我该怎么做呢?
我在 WPF 4 和 c# 中写这个
将窗口设置Owner为主窗口。
Owner