ToolTip

// Create the ToolTip and associate with the Form container.
ToolTip toolTip1 = new ToolTip();

// Set up the delays for the ToolTip.
toolTip1.AutoPopDelay = 5000;
toolTip1.InitialDelay = 1000;
toolTip1.ReshowDelay = 500;

// Force the ToolTip text to be displayed whether or not the form is active.
toolTip1.ShowAlways =true;

// Set up the ToolTip text for the Button and Checkbox.
toolTip1.SetToolTip(this.button1,"My button1");
toolTip1.SetToolTip(this.checkBox1,"My checkBox1");
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 同事从民工那里领来两只小狗,一只黄色夹杂着黑色,就是传说中的小黄,另外一只全黑的,同事取了个特别好听的名字,...
    爱吃核桃不吐皮阅读 243评论 0赞 0
  • 衍纸工艺作为一门独特纸艺,一直都深受广大纸艺爱好者的喜爱。衍纸就是通过卷曲、弯曲,捏压而形成原始设计形象的一门折纸...
    烟雨斜阳若依阅读 2,953评论 10赞 31

友情链接更多精彩内容