Exemplo n.º 1
0
 internal void clearAll()
 {
     TextBoxFirstName.Clear();
     TextBoxLastName.Clear();
     TextBoxIDNumber.Clear();
     ComboBoxGender.ResetText();
     TextBoxContactNumber.Clear();
     TextBoxEmailAddress.Clear();
     TextBoxAddressLine1.Clear();
     TextBoxSuburb.Clear();
     TextBoxCity.Clear();
     TextBoxZipCode.Clear();
     DateAdmission.ResetText();
     ComboBoxCentre.ResetText();
 }
Exemplo n.º 2
0
        /// <summary>
        /// Leert und sperrt die TextBoxen
        /// </summary>
        private void ResetAddressDisplayArea()
        {
            _suspressUpdate        = true;
            LabelAddressID.Content = "";

            TextBoxAddressLine1.Clear();
            TextBoxAddressLine2.Clear();
            TextBoxCity.Clear();
            TextBoxPostalCode.Clear();
            TextBoxAddressLine1.IsEnabled = false;
            TextBoxAddressLine2.IsEnabled = false;
            TextBoxCity.IsEnabled         = false;
            TextBoxPostalCode.IsEnabled   = false;
            _suspressUpdate = false;
        }