Ejemplo n.º 1
0
        private void charactersComboBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
        {
            switch (CharactersComboBox.SelectedIndex)
            {
            case 0: EmailValidator.SetAsciiSpecialCharsDefault(); break;

            case 1: EmailValidator.SetExtendedAsciiSpecialChars(); break;

            case 2: EmailValidator.SetExtendedQuotedAsciiSpecialChars(); break;

            default: throw new NotSupportedException();
            }
        }