W
Walter
I want to set focus to a text box on a C# windows form when the form loads.
How can I do this? I want the cursor to be in this text box when the form
loads so the user can just start typing. Below is what I have so far:
private void County_Load(object sender, EventArgs e)
{
txtCounty.Focus();
}
Thanks for the help
How can I do this? I want the cursor to be in this text box when the form
loads so the user can just start typing. Below is what I have so far:
private void County_Load(object sender, EventArgs e)
{
txtCounty.Focus();
}
Thanks for the help