The easiest way to show the tooltip - it set the text for the associated control.
C# | Copy |
---|---|
public TestForm() { InitializeComponent(); //button1 & button2 are children of this form toolTip[button1].Text = "Show this tip for the first button"; toolTip[button2].Text = "Show this tip for the second button"; } |
Back to .Net ToolTip HowTo topics