private void chkJProfiler_CheckedChanged(object sender, EventArgs e) { txtJProfilerPort.Enabled = chkJProfiler.Checked; if (txtJProfilerPort.Enabled) { txtJProfilerPort.Focus(); txtJProfilerPort.SelectAll(); } }