예제 #1
0
 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;
 }
예제 #2
0
        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;
        }
예제 #3
0
 public LabelAndTextbox()
 {
     InitializeComponent();
     LatTextBox.Filled();
 }