Esempio n. 1
0
        public TextInputSecond(string Label, string InputID)
        {
            tag_custom_name = typeof(div).Name;
            LabelText       = Label;

            Input.Name   = InputID;
            Input.Id_DOM = InputID;
            Input.AddCSS("form-control");
            AddCSS("input-group");
        }
Esempio n. 2
0
        public TextInput(string Label, string InputID)
        {
            Input.AddCSS("form-control");
            tag_custom_name = typeof(div).Name;
            if (!string.IsNullOrEmpty(Label))
            {
                LabelInput = new label(Label, InputID);
            }

            Input.Name   = InputID;
            Input.Id_DOM = InputID;
        }
Esempio n. 3
0
        public CheckboxInput(string Label, string InputID)
        {
            Input.AddCSS("form-check-input");
            tag_custom_name = typeof(div).Name;
            AddCSS("form-check");

            if (!string.IsNullOrEmpty(Label))
            {
                LabelInput = new label(Label, InputID);
                LabelInput.AddCSS("form-check-label");
            }
            Input.Id_DOM = InputID;
        }