private void chkCustomJVMParam3Active_CheckedChanged(object sender, EventArgs e) { txtCustomJVMParam3.Enabled = chkCustomJVMParam3Active.Checked; if (txtCustomJVMParam3.Enabled) { txtCustomJVMParam3.Focus(); txtCustomJVMParam3.SelectAll(); } }