dotnet中的工具提示 [英] tooltip in dotnet

查看:82
本文介绍了dotnet中的工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


当鼠标放在控件上时,我总是需要显示工具提示..

实际上我知道如何创建工具提示.

我应该始终显示工具提示.

Hi ,
i need to show tooltip always when mouse is placed on a control..

actually i know how to create a tooltip.

i should show the tooltip always

推荐答案



请检查这个
http://msdn.microsoft.com/en-us/library/aa288412% 28VS.71%29.aspx [ ^ ]

谢谢,
阿西夫·哈达尼

http://asifhuddani.wordpress.com/ [ ^ ]
Hi,

Please check this one
http://msdn.microsoft.com/en-us/library/aa288412%28VS.71%29.aspx[^]

Thanks,
Asif Huddani

http://asifhuddani.wordpress.com/[^]


mugamath写道:
mugamath wrote:

我应该始终显示工具提示

i should show the tooltip always



如果您要继续显示工具提示,建议您使用一个简单的标签,然后在其中放置文本.



If you mean you continuously want to show the tooltip, I suggest you use a simple label and put your text in there.


private void Form1_Load(object sender, EventArgs e)
        {
            ToolTip btnTip = new ToolTip();
            btnTip.SetToolTip(button1, "Click Here");
        }


这篇关于dotnet中的工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆