开发者

Show Windows Mobile User Control

I have a simple Windows Form application that is using the .net 3.5 compact framework.

I have a UserContro开发者_StackOverflow中文版l that I have created to show a Message to the user(I don't want to use the MessageBox as the close icon is too small)

How do I get my UserControl to show on top of all of the other Grids and controls? The UserControl is declared in a Base form that the main forms inherit from and it is never visible.


Does userctl.BringToFront() work? And of course you should set Visible=rue


Did you try the Control.BringToFront method?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜