本文介绍了子窗体最小化顶级窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好, 我正在将用户控件加载到窗体(面板)中.单击用户控件上的按钮后,它会打开弹出窗口(窗体),以最小化顶层窗体.弹出窗口应在顶层"表单上方打开.任何想法都请帮忙. 我尝试将TopMost属性设置为true但没有运气. 非常感谢, Sri
Hi All,I am loading usercontrols inside form(Pannel).Upon click on button on usercontrol it opens popup(form) which minimizing the toplevel form. The pop up should open above Toplevel form. Any idea please help.I tried by setting TopMost property to true but no luck.Many Thanks,Sri
推荐答案尝试通过Show()方法显示后设置此属性.通常可以解决该问题. Try to set this property after displayed by Show() method. That usually fixes it.
更多推荐
子窗体最小化顶级窗体
发布评论