Ejemplo n.º 1
0
 private void changeCellSource(int columnIndex, int rowIndex, cellSource csource)
 {
     bool found = false;
     while (!found)
     {
         for (int i = 0; i < cellsInfo.Count; i++)
         {
             if (cellsInfo[i].ColumnIndex == columnIndex && cellsInfo[i].RowIndex == rowIndex)
             {
                 cellsInfo[i].Source = csource;
                 found = true;
             }
         }
     }
 }
Ejemplo n.º 2
0
 public CellInfo(int columnIndex, int rowIndex, cellSource cs)
 {
     this.ColumnIndex = columnIndex;
     this.RowIndex = rowIndex;
     this.Source = cs;
 }