public VertKeyIndexer(TableSource t, int keyColumn) { keyDict = new Dictionary <string, int>(); for (int i = 0; i < t.Heigth; i++) { keyDict.Add(t[i, keyColumn], i); } }
public HorKeyIndexer(TableSource t, int keyRow) { keyDict = new Dictionary <string, int>(); for (int i = 0; i < t.Width; i++) { keyDict.Add(t[keyRow, i], i); } }