void ct_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char) Keys.Return) { e.Handled = true; } }