开发者

How to find tooltip control

开发者 https://www.devze.com 2023-01-01 09:12 出处:网络
How do I find a tooltip control for 开发者_运维问答any control in Winform with C#?Did you try to use the following :

How do I find a tooltip control for 开发者_运维问答any control in Winform with C#?


Did you try to use the following :

string text = toolTip1.GetToolTip(yourControl);

This gives you the text on the tooltip for that control.

You can set the text of a certain tooltip for your control like this:

toolTip2.SetToolTip(yourControl, "My tooltip text");
0

精彩评论

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