ATMLCommonLibrary.controls.path.PathNodeListControl.ValidateChildren C# (CSharp) Method

ValidateChildren() public method

public ValidateChildren ( ) : bool
return bool
        public override bool ValidateChildren()
        {
            bool valid = base.ValidateChildren();
            errorProvider.Clear();
            if (lvList.Items.Count < 2)
            {
                valid = false;
                errorProvider.SetError(lvList, "There must be at least 2 Path Nodes");
            }
            return valid;
        }