void ClearAll() { HID_Textbox.Clear(); Straat_TextBox.Clear(); Huisnum_Textbox.Clear(); Prijs_Textbox.Clear(); LatTextBox.Clear(); LongTextBox.Clear(); Omschrijving_TextBox.Clear(); HuurKoop_Textbox.SelectedIndex = -1; }
public LabelAndTextbox(CustomAttribute attribute, bool isFilled) { InitializeComponent(); attribute.SetMessages(); ControlLabel.Text = attribute.FieldName + ':'; LatTextBox.Text = LatTextBox.PlaceHolder = attribute.PlaceHolderText; if (isFilled) { LatTextBox.Filled(); } if (attribute.IsPassword) { LatTextBox.PasswordChar = '*'; } _attribute = attribute; LatTextBox.MaxLength = attribute.MaxLength; }
public LabelAndTextbox() { InitializeComponent(); LatTextBox.Filled(); }