Monday, August 10, 2009

To select the text of textbox by code when focus enter to textbox

private void textbox_Enter(object sender, EventArgs e)
{
((TextBox)sender).SelectAll();
}

Share This!


No comments:

Powered By Blogger · Designed By Seo Blogger Templates