Ejemplo n.º 1
0
        private void customCharacterGroupBox_arrowPressedEvent(CyArrowArgs e)
        {
            switch (e.ArrowDirection)
            {
            case CyArrowArgs.CyDirection.LEFT:
                HighlightPrevious();
                break;

            case CyArrowArgs.CyDirection.RIGHT:
                HighlightNext();
                break;

            case CyArrowArgs.CyDirection.UP:
                HighlightAbove();
                break;

            case CyArrowArgs.CyDirection.DOWN:
                HighlightBelow();
                break;

            default:
                break;
            }
        }
Ejemplo n.º 2
0
 private void RaiseArrowEvent(CyArrowArgs.CyDirection keyDirection)
 {
     if (arrowPressedEvent != null)
         arrowPressedEvent(new CyArrowArgs(keyDirection));
 }
Ejemplo n.º 3
0
 private void customCharacterGroupBox_arrowPressedEvent(CyArrowArgs e)
 {
     switch (e.ArrowDirection)
     {
         case CyArrowArgs.CyDirection.LEFT:
             HighlightPrevious();
             break;
         case CyArrowArgs.CyDirection.RIGHT:
             HighlightNext();
             break;
         case CyArrowArgs.CyDirection.UP:
             HighlightAbove();
             break;
         case CyArrowArgs.CyDirection.DOWN:
             HighlightBelow();
             break;
         default:
             break;
     }
 }