1022_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");
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容