示例#1
0
        public void SetToTextField(string name, string id, string defaultValue, int tabIndex, int maxLength, bool isPassword, bool isItalic)
        {
            TextField newTextField = new TextField(this._parent);

            newTextField.Name         = name;
            newTextField.Id           = id;
            newTextField.DefaultValue = defaultValue;
            newTextField.TabIndex     = tabIndex;
            newTextField.MaxLength    = maxLength;
            newTextField.IsPassword   = isPassword;
            newTextField.IsItalic     = isItalic;

            this._formElement = newTextField;
        }
示例#2
0
        public void SetToRadioGroup()
        {
            RadioGroup newRadioGroup = new RadioGroup(this._parent);

            this._formElement = newRadioGroup;
        }