Ejemplo n.º 1
0
 /// <summary>
 /// Adds the elements of another RichTextBoxRowColoringRuleCollection to the end of this RichTextBoxRowColoringRuleCollection.
 /// </summary>
 /// <param name="items">
 /// The RichTextBoxRowColoringRuleCollection whose elements are to be added to the end of this RichTextBoxRowColoringRuleCollection.
 /// </param>
 public virtual void AddRange(RichTextBoxRowColoringRuleCollection items)
 {
     foreach (RichTextBoxRowColoringRule item in items)
     {
         this.List.Add(item);
     }
 }
 /// <summary>
 /// Adds the elements of another RichTextBoxRowColoringRuleCollection to the end of this RichTextBoxRowColoringRuleCollection.
 /// </summary>
 /// <param name="items">
 /// The RichTextBoxRowColoringRuleCollection whose elements are to be added to the end of this RichTextBoxRowColoringRuleCollection.
 /// </param>
 public virtual void AddRange(RichTextBoxRowColoringRuleCollection items)
 {
     foreach (RichTextBoxRowColoringRule item in items)
     {
         this.List.Add(item);
     }
 }
 /// <summary>
 /// Initializes a new instance of the RichTextBoxRowColoringRuleCollection class, containing elements
 /// copied from another instance of RichTextBoxRowColoringRuleCollection
 /// </summary>
 /// <param name="items">
 /// The RichTextBoxRowColoringRuleCollection whose elements are to be added to the new RichTextBoxRowColoringRuleCollection.
 /// </param>
 public RichTextBoxRowColoringRuleCollection(RichTextBoxRowColoringRuleCollection items)
 {
     this.AddRange(items);
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(RichTextBoxRowColoringRuleCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the RichTextBoxRowColoringRuleCollection class, containing elements
 /// copied from another instance of RichTextBoxRowColoringRuleCollection
 /// </summary>
 /// <param name="items">
 /// The RichTextBoxRowColoringRuleCollection whose elements are to be added to the new RichTextBoxRowColoringRuleCollection.
 /// </param>
 public RichTextBoxRowColoringRuleCollection(RichTextBoxRowColoringRuleCollection items)
 {
     this.AddRange(items);
 }
Ejemplo n.º 6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(RichTextBoxRowColoringRuleCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }