示例#1
0
 public OpQuotationDetailObj(string InternalID) : base(InternalID)
 {
     this.DetailNo    = "";
     this.Description = "";
     this.Unit        = "";
     this.PartNo      = "";
     this.Quotation   = null;
     this.Quantity    = 0;
     this.Rate        = 0.0;
     this.Discount    = 0.0;
     this.TotalPrice  = 0.0;
 }
示例#2
0
 public OpQuotationDetailObj()
 {
     this.DetailNo    = "";
     this.Description = "";
     this.Unit        = "";
     this.PartNo      = "";
     this.Quotation   = null;
     this.Quantity    = 0;
     this.Rate        = 0.0;
     this.Discount    = 0.0;
     this.TotalPrice  = 0.0;
 }
 public virtual void SortByName()
 {
     for (int i = base.Count - 1; i > 0; i--)
     {
         for (int j = 0; j < i; j++)
         {
             if (this[j].QuotationNo.CompareTo(this[j + 1].QuotationNo) > 0)
             {
                 OpQuotationObj obj2 = this[j];
                 this[j]     = this[j + 1];
                 this[j + 1] = obj2;
             }
         }
     }
 }
 public int Add(OpQuotationObj value)
 {
     return(base.List.Add(value));
 }
 public void Remove(OpQuotationObj value)
 {
     base.List.Remove(value);
 }
 public void Insert(int index, OpQuotationObj value)
 {
     base.List.Insert(index, value);
 }
 public int IndexOf(OpQuotationObj value)
 {
     return(base.List.IndexOf(value));
 }
 public bool Contains(OpQuotationObj value)
 {
     return(base.List.Contains(value));
 }