public Table(int size) { _data = Enumerable.Range(0, size).Select(x => new InformationCell[size]).ToArray(); for (int i = 0; i < size; ++i) { for (int j = i; j < size; ++j) { _data[i][j] = new InformationCell(i, j); if (i != j) { _data[j][i] = _data[i][j]; } } } }
void ReleaseDesignerOutlets() { if (InformationCell != null) { InformationCell.Dispose(); InformationCell = null; } if (OpenHoursCell != null) { OpenHoursCell.Dispose(); OpenHoursCell = null; } if (MapView != null) { MapView.Dispose(); MapView = null; } }
void SetInformation() { InformationCell.PopulateWithData(); }
public CellAccess(InformationCell cell, int i, int j) { _cell = cell; _i = i; _j = j; }
public Ser(InformationCell inf) { this.info = inf; }