private void FormGoTo_Activated(object sender, System.EventArgs e) { nup.Focus(); nup.Select(0, nup.Value.ToString().Length); }