protected internal override Control CreateControl(string name)
        {
            PasswordBoxControl control = new PasswordBoxControl(name);

            control.MaxLength = MaxLength;
            control.Size = Width;
            control.OnKeyDown = OnKeyDown;
            control.OnKeyUp = OnKeyUp;
            control.OnKeyPress = OnKeyPress;

            return control;
        }