private void T_PassWord_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if(e.KeyChar=(char ) Keys.Enter) { this.Btn_OK.Focus(); } }