Kum*_*n T 13
希望这段代码能帮到你
if (button1.Text.Length > Your button text length to be checked)
{
System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
ToolTip1.SetToolTip(this.button1, this.button1.Text);
}
Run Code Online (Sandbox Code Playgroud)
您必须在按钮鼠标悬停事件中编写这些代码
归档时间: |
|
查看次数: |
22368 次 |
最近记录: |