public bool getTradeDetail(Guid guid, ref TradeDetail td) { for (int i = tradeDetail.Count - 1; i >= 0; i--) { if (tradeDetail[i].Tradeid == guid) { td = tradeDetail[i]; return(true); } } return(false); }
public void Add(TradeDetail td) { tradeDetail.Add(td); //RaiseTradeDetailUpdate(new TradeDetailUpdateEventArgs(td)); }
public TradeDetailUpdateEventArgs(TradeDetail td) { this.tDetail = td; }