To define tooltips, you first need to drag the ToolTip component from the application from the toolbar. Then each control will have additional tooltip text properties. You can also do this manually:
ToolTip toolTip1 = new ToolTip();
toolTip1.SetToolTip(this.groupBox1, "My groupBox1 tooltip!");
toolTip1.SetToolTip(this.checkBox1, "My checkBox1 tooltip!");
See the msdn article here .
source
share