void HandleControlTextDidChange(NSNotification notification)
        {
            var textField = (NSTextField)notification.Object;

            if (textField.StringValue.Length == 0 && textField.Tag != 0)
            {
                Window.SelectKeyViewPrecedingView(textField);
                return;
            }

            if (textField.Tag < IndexedTextFields.Count() - 1)
            {
                Window.SelectKeyViewFollowingView(textField);
            }
        }
        public bool DoCommandBySelector(NSControl control, NSTextView _, Selector selector)
        {
            var textField = (NSTextField)control;

            if (selector.Equals(new Selector("deleteBackward:")))
            {
                HandleDeleteBackward(textField);
                ContinueButton.Enabled = AreAllTextFieldsSet;
                return(true);
            }
            else if (selector.Equals(new Selector("insertTab:")))
            {
                return(textField.Tag >= IndexedTextFields.Count() - 1);
            }
            return(false);
        }