private void FormPurMeasure_KeyDown(object sender, KeyEventArgs e)
{
switch (e.KeyCode)
{
case Keys.Up:
//将焦点移动到上一个控件
this.SelectNextControl(this.ActiveControl, false, true, true, true);
break;
case Keys.Down:
//将焦点移动到下一个控件
this.SelectNextControl(this.ActiveControl, true, true, true, true);
break;
}
}