I have a custom control (C #, visual studio). I want to show a tooltip about a mousehover event.
However, no matter what I do, it either never shows, or has a chance to show several times.
I thought it would be as simple as:
private void MyControl_MouseHover(object sender, EventArgs e)
{
ToolTip tT = new ToolTip();
tT.Show("Why So Many Times?", this);
}
But that does not work. I tried a bunch of things, but can't get it to work. I would like the tooltip to be part of the component because I want to access the private fields for display.
Thanks for any help
source
share