I have a class that draws images. (This works fine) I want a toolTip to be displayed when the user hover over the image with the mouse.
In the class's I have:
public Graphics Graphic { get; set; } //Element to draw on
SomeMethod()
{
Symbol = new Bitmap("C:/Test.JPG");
Position = new Point(100, 300);
Graphic.DrawImage(Symbol, Position);
//Here I want to somehow add the ToolTip to the image
}
There are lot of examples on how to add the ToolTip to a Control but the Image (as I can see it) is not a control and therefore gives an error when I try to.
Am I not looking at the correct path to be adding tooltips to an image or is the Tooltip class not designed to do this?