예제 #1
0
 public virtual void SortByName()
 {
     for (int i = base.Count - 1; i > 0; i--)
     {
         for (int j = 0; j < i; j++)
         {
             if (this[j].PartNo.CompareTo(this[j + 1].PartNo) > 0)
             {
                 OpPartObj obj2 = this[j];
                 this[j]     = this[j + 1];
                 this[j + 1] = obj2;
             }
         }
     }
 }
예제 #2
0
 public int Add(OpPartObj value)
 {
     return(base.List.Add(value));
 }
예제 #3
0
 public void Remove(OpPartObj value)
 {
     base.List.Remove(value);
 }
예제 #4
0
 public void Insert(int index, OpPartObj value)
 {
     base.List.Insert(index, value);
 }
예제 #5
0
 public int IndexOf(OpPartObj value)
 {
     return(base.List.IndexOf(value));
 }
예제 #6
0
 public bool Contains(OpPartObj value)
 {
     return(base.List.Contains(value));
 }