Esempio n. 1
0
 private void OnKey(object sender, ClientKeyEvent e)
 {
     if (active)
     {
         if (e.key == 0x28)
         {
             selectNextModule();
         }
         if (e.key == 0x26)
         {
             selectPrevModule();
         }
         if (e.key == 0x27)
         {
             toggleSelectedModule();
         }
     }
 }
 public void onKeyPress(object sender, ClientKeyEvent e)
 {
     if (e.key == 0x28)
     {
         selectNextCategory();
     }
     if (e.key == 0x26)
     {
         selectPrevCategory();
     }
     if (e.key == 0x27)
     {
         activateSelectedCategory();
     }
     if (e.key == 0x25)
     {
         deactivateSelectedCategory();
     }
 }