/// <summary>
 /// Shows the tower shop page.
 /// </summary>
 /// <param name="graphObject">Graphic render object</param>
 private void ShowTowerShopPage(IGraphic graphObject)
 {
   ShopPageAction((int i, int j, int offset, int xMouse, int yMouse) =>
   {
     graphObject.DrawImage(_towerIcons[(CurrentShopPage - 1) * (Settings.LinesInOnePage * Settings.MaxTowersInLine) + offset],
       BuildRectPage(i, j));
     if (TowerConfSelectedID == (CurrentShopPage - 1) * (Settings.LinesInOnePage * Settings.MaxTowersInLine) + offset)
       //Border line
       graphObject.DrawRectangle(new Pen(Color.Red, Settings.PenWidth * Scaling), BuildRectPage(i, j));
     return false;
   });
 }
 /// <summary>
 /// Shows the page selector.(Pages in shop)
 /// </summary>
 /// <param name="graphObject">Graphic render object</param>
 private void ShowPageSelector(IGraphic graphObject)
 {
   if (_towerIcons.Count > Settings.LinesInOnePage * Settings.MaxTowersInLine)
   {
     ShopPageSelectorAction((int i, int dy, int xMouse, int yMouse) =>
     {
       //String
       graphObject.DrawString("Page " + (i + 1).ToString(CultureInfo.InvariantCulture), new Font("Arial", 14 * Scaling), new SolidBrush(Color.Black),
         new Point(
           Convert.ToInt32((_paginatorPos.X + (i % ElementsDelta) * ("Page " + (i + 1).ToString(CultureInfo.InvariantCulture)).Length * Settings.PixelsForOneSymbol) * Scaling),
           Convert.ToInt32((_paginatorPos.Y + PaginatorElementHeight * dy) * Scaling)));
       //Border line
       Color penColor = ((i + 1) == CurrentShopPage) ? Color.Red : Color.White;
       graphObject.DrawRectangle(new Pen(penColor, Settings.PenWidth * Scaling), BuildRectPageSelector(i, dy));
       return false;
     });
   }
 }