public PathGridView(PuzzleData puzzle, int width, int height) : base(puzzle, width, height, AppDelegate.UserInterfaceIdiomIsPhone ? CELL_SIZE_IPHONE : CELL_SIZE_IPAD) { // Create the view PathGridViewInternal theView = new PathGridViewInternal(this, new RectangleF(0, 0, width * CellSize, height * CellSize)); // Create the grid and cells views CreateGrid(0, 0, theView); GridViewInternal = theView; }
public PathGridView(PuzzleData puzzle, int width, int height) : base(puzzle, width, height, AppDelegate.UserInterfaceIdiomIsPhone ? CELL_SIZE_IPHONE : CELL_SIZE_IPAD) { // Create the view PathGridViewInternal theView = new PathGridViewInternal (this, new RectangleF (0, 0, width * CellSize, height * CellSize)); // Create the grid and cells views CreateGrid (0,0, theView); GridViewInternal = theView; }