ToolTip Class in C#
A tooltip is a small pop-up window that displays some information when mouse over on a control for a short period of time.
There are two ways through which we can set tooltip on control. First one is via Class and second one is via Property.
private void btnTooTrip_MouseHover(object sender, EventArgs e)
{
ToolTip ttp = new ToolTip();
ttp.SetToolTip(btnTooTrip, "Click me to execute.");
}
Step1:- Take one button on windows form and drag-drop tooltip control on form
Step2:- Write popup message on button’s properties “ToolTip on ToolTip1”