private void txtRmp_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if(e.KeyChar==13) txtRmp_Leave(null,null); }