yourToolTip = new ToolTip();
//The below are optional, of course,
yourToolTip.ToolTipIcon = ToolTipIcon.Info;
yourToolTip.IsBalloon = true;
yourToolTip.ShowAlways = true;
yourToolTip.SetToolTip(lblYourLabel,"Oooh, you put your mouse over me.");
ToolTip C#
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
上一篇:DotNetty z
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
日常开发记录分享——C#控件ToolTip实现分栏显示内容
下面是使用的方式,先在我们窗体中创建一个自定义的Tooltip对象,具体使用就是先设置SetContent方法将要显示的内容
c# 前端 ToolTip 工具提示 自定义 -
C#-ToolTIp和Popup使用
时候我们需要做一个提示框,来给用户说明这个元素的作用,比如鼠标移动到哪个元素上面,显示一个弹出框并显
C# 掘金·日新计划 xml microsoft 控件