#region 文本框键按事件
private void textUserID_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == System.Windows.Forms.Keys.Enter)
this.textPassword.Focus();
}
private void textPassword_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == System.Windows.Forms.Keys.Enter)
this.butLogin.Focus();
}
#endregion
private void textUserID_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == System.Windows.Forms.Keys.Enter)
this.textPassword.Focus();
}
private void textPassword_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == System.Windows.Forms.Keys.Enter)
this.butLogin.Focus();
}
#endregion