TextBox にフォーカスが当たったタイミングで TextBox 内のテキストを全選択するロジックを実装する方法です。TextBox の GotFocus イベントにイベントハンドラを指定します。
public Form1()
{
InitializeComponent();
this.id.GotFocus += GotFocus;
}
private void GotFocus(object sender, EventArgs e)
{
TextBox t = sender as TextBox;
t.SelectAll();
}