Esempio n. 1
0
 private void OnCedeFocus(object sender, CedeFocusEventArgs e)
 {
     if (((e.Direction != Direction.Reverse) || (e.FieldId != 0)) && ((e.Direction != Direction.Forward) || (e.FieldId != 3)))
     {
         int fieldId = e.FieldId;
         if (e.Direction == Direction.Forward)
         {
             fieldId++;
         }
         else
         {
             fieldId--;
         }
         this._fieldControls[fieldId].TakeFocus(e.Direction, e.Selection);
     }
 }