Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 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);
     }
 }