开发者

BringToFront() does not work

I have a winform project with a splash form (as 开发者_运维百科described in the first answer of this question : C# winforms startup (Splash) form not hiding).

When I use this splashform the mainform loose the focus. I want to bring it to the front as soon as I close the splashform with Form.BringToFront() but it does'nt work.

Anybody can help?


Raymond Chen just addressed this issue with Win32 programs in his blog today.

Basically, you need to show your main form and call BringToFront on it before closing your splashscreen.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜