public virtual void SortByName()
 {
     for (int i = base.Count - 1; i > 0; i--)
     {
         for (int j = 0; j < i; j++)
         {
             if (this[j].Question.CompareTo(this[j + 1].Question) > 0)
             {
                 MasterCheckListObj obj2 = this[j];
                 this[j]     = this[j + 1];
                 this[j + 1] = obj2;
             }
         }
     }
 }
 public int Add(MasterCheckListObj value)
 {
     return(base.List.Add(value));
 }
 public void Remove(MasterCheckListObj value)
 {
     base.List.Remove(value);
 }
 public void Insert(int index, MasterCheckListObj value)
 {
     base.List.Insert(index, value);
 }
 public int IndexOf(MasterCheckListObj value)
 {
     return(base.List.IndexOf(value));
 }
 public bool Contains(MasterCheckListObj value)
 {
     return(base.List.Contains(value));
 }
예제 #7
0
 public OpCheckListDetailObj(string InternalID) : base(InternalID)
 {
     this.OpCheckListHeader = null;
     this.CheckListObj      = null;
     this.Answer            = "";
 }
예제 #8
0
 public OpCheckListDetailObj()
 {
     this.OpCheckListHeader = null;
     this.CheckListObj      = null;
     this.Answer            = "";
 }