Assign() public method

public Assign ( FATabStripItem item ) : void
item FATabStripItem
return void
Esempio n. 1
0
 public virtual void Assign(FATabStripItemCollection collection)
 {
     this.BeginUpdate();
     try {
         this.Clear();
         for (int index = 0; index < collection.Count; ++index)
         {
             FATabStripItem faTabStripItem1 = collection[index];
             FATabStripItem faTabStripItem2 = new FATabStripItem();
             faTabStripItem2.Assign(faTabStripItem1);
             this.Add(faTabStripItem2);
         }
     }
     finally {
         this.EndUpdate();
     }
 }
 public virtual void Assign(FATabStripItemCollection collection)
 {
     this.BeginUpdate();
     try
     {
         base.Clear();
         for (int i = 0; i < collection.Count; i++)
         {
             FATabStripItem item           = collection[i];
             FATabStripItem fatabStripItem = new FATabStripItem();
             fatabStripItem.Assign(item);
             this.Add(fatabStripItem);
         }
     }
     finally
     {
         this.EndUpdate();
     }
 }
Esempio n. 3
0
 public virtual void Assign(FATabStripItemCollection collection)
 {
     BeginUpdate();
     try
     {
         Clear();
         for (int n = 0; n < collection.Count; n++)
         {
             FATabStripItem item    = collection[n];
             FATabStripItem newItem = new FATabStripItem();
             newItem.Assign(item);
             Add(newItem);
         }
     }
     finally
     {
         EndUpdate();
     }
 }
Esempio n. 4
0
 public virtual void Assign(FATabStripItemCollection collection)
 {
     BeginUpdate();
     try
     {
         Clear();
         for (int n = 0; n < collection.Count; n++)
         {
             FATabStripItem item = collection[n];
             FATabStripItem newItem = new FATabStripItem();
             newItem.Assign(item);
             Add(newItem);
         }
     }
     finally
     {
         EndUpdate();
     }
 }