我让超级工具提示(来自 DotNetBar)出现在 NumericUpDown 的每个控件上。但我只需要 NumericUpDown 的 TextBox 上的超级工具提示。这是我当前的代码:
foreach (Control c in NumericUpDown.Controls)
{
NumericUpDownToolTip.SetSuperTooltip(c, NumericUpDownSuperToolTip);
}
//Declarations:
//NumericUpDownToolTip is a SuperToolTip from DotNetBar
//NumericUpDownSuperToolTip is the configuration of the SuperToolTip (for example: the text of the tooltip)
那么如何仅在文本框上设置工具提示?