作者sean721 (仙貝)
看板C_Sharp
標題[問題] toolTip無法顯示
時間Sun Jan 2 16:21:56 2011
我開了一個表單
按照MSDN的用法
在Form1.cs加入了
private void Form1_Load(object sender, System.EventArgs e)
{
// Create the ToolTip and associate with the Form container.
ToolTip toolTip1 = new ToolTip();
toolTip1.AutoPopDelay = 5000;
toolTip1.InitialDelay = 1000;
toolTip1.ReshowDelay = 500;
toolTip1.ShowAlways = true;
toolTip1.SetToolTip(this.button1, "My button1");
toolTip1.SetToolTip(this.checkBox1, "My checkBox1");
}
但是怎麼試 提示就是出不來
最近因為需要才剛開始學C#
請問我是少做了什麼步驟嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.115.51.34
1F:→ kavana999:少了去圖書館借一本書XD 01/02 19:03