private static int InitialiseNewRow(int i, out int rowStart, IList controlsInRow) { int currentRowHeight; currentRowHeight = 0; controlsInRow.Clear(); rowStart = i; return currentRowHeight; }