public void Insert(int index, ItemControlComplexidade RuleNumUpDownComplexItem)
 {
     if (index <= List.Count && RuleNumUpDownComplexItem != null)
     {
         this.List.Insert(index, RuleNumUpDownComplexItem);
     }
 }
 public int Add(ItemControlComplexidade RuleNumUpDownComplexItem)
 {
     if (RuleNumUpDownComplexItem != null)
     {
         return(this.List.Add(RuleNumUpDownComplexItem));
     }
     return(-1);
 }
 public int IndexOf(ItemControlComplexidade RuleNumUpDownComplexItem)
 {
     if (RuleNumUpDownComplexItem != null)
     {
         return(base.List.IndexOf(RuleNumUpDownComplexItem));
     }
     return(-1);
 }
        public int AddRule(NumericUpDown numUpDownIni, NumericUpDown numUpDownFim, NumericUpDown numUpDownQtd)
        {
            if (numUpDownIni != null && numUpDownFim != null && numUpDownQtd != null)
            {
                ItemControlComplexidade ruleNumUpDownComplexItem = new ItemControlComplexidade(this.Count, numUpDownIni, numUpDownFim, numUpDownQtd, qtdMaxima);

                return(this.List.Add(ruleNumUpDownComplexItem));
            }

            return(-1);
        }
 public bool Contains(ItemControlComplexidade RuleNumUpDownComplexItem)
 {
     return(this.List.Contains(RuleNumUpDownComplexItem));
 }
 public void Remove(ItemControlComplexidade RuleNumUpDownComplexItem)
 {
     this.InnerList.Remove(RuleNumUpDownComplexItem);
 }