Пример #1
0
        public PasswordHandler()
        {
            Control = new EtoTextField {
                Handler = this
            };
            Control.Bezeled    = true;
            Control.Editable   = true;
            Control.Selectable = true;

            Control.Formatter = new MyFormatter {
                Handler = this
            };
            //Control.BezelStyle = NSTextFieldBezelStyle.Square;
            //Control.Bordered = true;
            MaxLength = -1;
        }
Пример #2
0
        public TextBoxHandler()
        {
            Control = new EtoTextField {
                Handler    = this,
                Bezeled    = true,
                Editable   = true,
                Selectable = true,
                Formatter  = new MyFormatter {
                    Handler = this
                }
            };
            Control.Cell.LineBreakMode = NSLineBreakMode.CharWrapping;

            //Control.BezelStyle = NSTextFieldBezelStyle.Square;
            //Control.Bordered = true;
            MaxLength = -1;
        }