Example #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);
     }
 }