触发事件后WinForm的布局完成 [英] Triggering an event after a Winform layout is complete
本文介绍了触发事件后WinForm的布局完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我工作的一个C#WinForm应用程序。
I am working on a C# WinForm application.
我想引发一些处理,一旦形式已经显示和表单的布局完成。
I want to trigger some processing once the form has been "shown" and the layout of the form is complete.
我使用的是_Shown事件,但这似乎触发形式的布局完成之前。有没有事件中,我可以使用闪光一次布局完成?
I am using the "_Shown" event, but this seems to trigger before the layout of the form has completed. Is there event I can use that fires once the layout is complete?
推荐答案
我没有看到的事件展示了之后可以使用用于此目的。你能不能用一个定时器延迟的事件所示的处理?
I don't see an event after Shown you can use for this purpose. Could you not use a timer to delay your processing in the Shown event?
这篇关于触发事件后WinForm的布局完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文