csharp winforms tooltip

Code Example - csharp winforms tooltip

                
                        //Set a ToolTip programmatically in Winforms with c#
// In this example, button1 is the control to display the ToolTip.
ToolTip toolTip1 = new ToolTip();
            toolTip1.AutoPopDelay = 5000;
            toolTip1.InitialDelay = 1000;
            toolTip1.ReshowDelay = 500;

            // Force the ToolTip text to be displayed whether or not the form is active.
            toolTip1.ShowAlways = true;

// suppose you want to show ToolTip for Button (name as button1)
toolTip1.SetToolTip(button1, "Information you want to show here");