用ToolTip控件,为要显示提示信息的控件绑定到该控件即可。

操作方法:

先为窗体添加一个ToolTip控件,然后找到要绑定的控件属性,绑定该项

ToolTip toolTip1 = new ToolTip();
toolTip1.AutoPopDelay = 5000; toolTip1.InitialDelay = 500; toolTip1.ReshowDelay = 500;
toolTip1.ShowAlways = true;
toolTip1.SetToolTip(this.button1, "yyyyyyy");  //设置提示信息为自定义

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2021-10-09
  • 2021-08-10
  • 2022-12-23
猜你喜欢
  • 2021-08-31
  • 2022-12-23
  • 2021-08-29
  • 2021-12-31
  • 2021-05-22
  • 2021-05-18
  • 2022-12-23
相关资源
相似解决方案