FlexFieldControlLib.FieldControl.IsCedeFocusKey C# (CSharp) 메소드

IsCedeFocusKey() 개인적인 메소드

private IsCedeFocusKey ( KeyEventArgs e ) : bool
e System.Windows.Forms.KeyEventArgs
리턴 bool
        private bool IsCedeFocusKey( KeyEventArgs e )
        {
            bool isCedeFocusKey = false;

             foreach ( KeyEventArgs key in _cedeFocusKeys )
             {
            if ( e.KeyCode == key.KeyCode )
            {
               isCedeFocusKey = true;
               break;
            }
             }

             if ( isCedeFocusKey )
             {
            if ( TextLength != 0 && SelectionLength == 0 && SelectionStart != 0 )
            {
               return true;
            }
             }

             return false;
        }