How to set a tool tip on any control by coding ...


//This will set the tool tip text for a button...

//When u move the mouse on the button5(which i

have used here) u will see a text "Click this button for good evening"



private void button5_Click(object sender, EventArgs e)

{

toolTip1.SetToolTip (button5, "click this button for good evening");

}