Пример #1
0
        /// <summary>
        /// Is the given name a valid AVD name?
        /// </summary>
        private void OnValidateNameIsValid(object sender, DevComponents.DotNetBar.Validator.ValidateValueEventArgs e)
        {
            var name = tbName.Text.Trim();

            e.IsValid = (name.Length > 0) && !ProcessRunner.ContainEscapeCharacter(name);
        }