private void CategoryName_Changed(object sender, EventArgs e) { apply.Enabled = ForbiddenChars != null && CategoryName.Intersect(ForbiddenChars).Count() == 0 && CategoryName.Length > 0; }
private void CategoryName_Changed(object sender, EventArgs e) { apply.Enabled = ForbiddenChars != null && CategoryName.Intersect(ForbiddenChars).Count() == 0 && CategoryName.Length > 0; }