Beispiel #1
0
 /// <summary>
 /// 键盘方法
 /// </summary>
 /// <param name="key">按键</param>
 public override void OnKeyDown(char key)
 {
     base.OnKeyDown(key);
     if (key == 13)
     {
         OnSelectRow();
     }
     else if (key == 38 || key == 40)
     {
         m_grid.OnKeyDown(key);
     }
 }