/// <summary>Рисование следующей фигуры.</summary> private void PbNextFigure_Paint(object sender, PaintEventArgs e) { Properties.Game.Default.BorderColor = _game.FigureChanged ? Color.FromArgb(160, 128, 128) : Tetris.Properties.Game.Default.BackColor; _nextShape.Paint(e.Graphics); }