`
qoz790qo
  • 浏览: 14975 次
最近访客 更多访客>>
社区版块
存档分类
最新评论

【C#】在VS2005中C#实现鼠标悬停提示

 
阅读更多

【C#】在VS2005中C#实现鼠标悬停提示
2010年01月22日
              // 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 = 500;
  toolTip1.ReshowDelay = 200;
  // 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, "点击后自动生成条码");
  toolTip1.SetToolTip(this.comboBox15, "悬停提示的内容");
  toolTip1.SetToolTip(this.comboBox14, "悬停提示的内容");
  toolTip1.SetToolTip(this.comboBox13, "悬停提示的内容");
  toolTip1.SetToolTip(this.comboBox12, "悬停提示的内容");
  toolTip1.SetToolTip(this.textBox1, "修改选项后需要重新生成。");
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics