private static IBaseCollection<RowElement> GetRowsAllTabs(IBaseCollection<TabFormElement> tabs, TransactionElement trni) { IBaseCollection<RowElement> rows = new BaseCollection<RowElement>(); if (tabs != null) { foreach (TabFormElement tabe in tabs) { foreach (RowElement row in tabe.Rows) rows.Add(row); } } return rows; }