public class SalesRows { #region Private Fields private BindingList salesRows; #endregion #region Constructors public SalesRows(BindingList salesRows) { if (salesRows == null) { throw new ArgumentNullException(); } this.salesRows = salesRows; } #endregion #region Public Properties public BindingList Rows { get { BindingList rows = new BindingList(); GlobalSalesRow globalSalesRow = new GlobalSalesRow("GLOBAL", this.salesRows); foreach (SalesRow salesRow in this.salesRows) { rows.Add(salesRow); } rows.Add(globalSalesRow); return rows; } } #endregion }