Пример #1
0
        public new void SetChildItems(string[][] data)
        {
            this.childItems.Populate(data);

            DataGridView grid = this.childItems.Grid;
            DataGridViewRowCollection rows = grid.Rows;
            int rowCount = rows.GetRowCount(DataGridViewElementStates.None);

            while (rowCount > 0)
            {
                --rowCount;
                DataGridViewCellCollection cellsInRow = rows[rowCount].Cells;
                cellsInRow[cellsInRow.Count - 1].Value = data[rowCount][3];
            }
        }