How do I remove a tooltip currently bound to a control?

.net, c#, tooltip, winforms

Solution

Create a single instance of the `ToolTip` and use it whenever you like to show it using the `SetToolTip` method and use `Hide` method to hide it. Generally it is not necessary to create more than one `ToolTip` instance.

Problem

I'm currently adding a tooltip to a label like so: ``` ToolTip LabelToolTip = new System.Windows.Forms.ToolTip(); LabelToolTip.SetToolTip(this.LocationLabel, text); ``` When I need to change this tooltip as the label's text changes, I try doing the same to add a new tooltip. Unfortunately, the old tooltip remains under the new one, which is really annoying. Is there a method to remove the old tooltip, or should I just make a new label when I want to change the text in a label?

Original source