Show tooltip text by clicking a control

.net, c#, winforms

Solution

This code will do the trick:

private void PictureBox1_Click(object sender, EventArgs e)
{
    int durationMilliseconds = 10000;
    ToolTip1.Show(ToolTip1.GetToolTip(PictureBox1), PictureBox1, durationMilliseconds);
}

Problem

Possible Duplicate: Programatically show tooltip in winforms application When set a TooltipText on a control, and the tooltip text will be shown when user move mouse on the control. Now I have a picturebox on a windows form, what I want is to display the tooltip text by clicking the control instead of hover it. How to do it? Thanks.

Original source

Related problems