title: Make text box only highlight text on first click only
body: <p>Currently I have it so that when you select the text box it will highlight the text in it but what I want it to do is only do this for the first time that it is selected so that it will not delete the text that the user is typing each time. Here is what I am using to highlight the text:</p>
  
  <pre><code>private void txtName_Focus(object sender, EventArgs e)
      {
          bool isFirstTime = true;
          if (isFirstTime == true){
          txtName.SelectionStart = 0;
          txtName.SelectionLength = txtName.Text.Length;
  
          }
          isFirstTime = false;
  
  
      }
  </code></pre>