Tooltip for TextBox -- Coding
private void textBox1_TextChanged(object sender, EventArgs e)
{
if (textBox1.Text != "")
{
string str = textBox1.Text;
toolTip1.Show(str, textBox1, 1, 10);
}
else
{
toolTip1.Hide(textBox1);
}
}
h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->
No comments:
Post a Comment