ToolTip 的用法,大家一起学习
// This example assumes that the Form_Load event handling method
// is connected to the Load event of the form.
private void Form1_Load(object sender, System.EventArgs e)
{
// 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");
}
没找到button1。tooltip=“”这样的设置,请教二楼的应该是怎么操作的?
激发事件是什么,是mousemove吗?
我问的是怎么在button上加入ico图标,不是image,大家可以试试看,是不一样的?
image当然可以家进去了?
[此贴子已经被作者于2007-11-15 11:03:15编辑过]