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"); }
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; }
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; }