p align="justify"> nextPaint = false; x1 = 0; x2 = 0; x3 = 0; x4 = 0; y1 = 0; y2 = 0; y3 = 0; y4 = 0; gObj_ = panelNextShape.CreateGraphics ( );
gObj_.Clear (SystemColors.Control); (Shape.nextShape)
{1:
x1 = 3;
y1 = 1;// ..
x2 = 4;
y2 = 1;
x3 = 3;
y3 = 2;
x4 = 4;
y4 = 2;; 2:
x1 = 2;
y1 = 1;// ..
x2 = 3;
y2 = 1;
x3 = 4;
y3 = 1;
x4 = 5;
y4 = 1;; 3:
x1 = 3;
y1 = 1;// ..
x2 = 3;
y2 = 2;
x3 = 2;
y3 = 2;
x4 = 4;
y4 = 2;; 4:
x1 = 3;
y1 = 0;// ..
x2 = 3;
y2 = 1;
x3 = 3;
y3 = 2;
x4 = 4;
y4 = 2;; 5:
x1 = 3;
y1 = 0;// ..
x2 = 3;
y2 = 1;
x3 = 3;
y3 = 2;
x4 = 2;
y4 = 2;; 6:
x1 = 4;
y1 = 0;// ..
x2 = 4;
y2 = 1;
x3 = 3;
y3 = 1;
x4 = 3;
y4 = 2;; 7:
x1 = 2;
y1 = 0;// ..
x2 = 2;
y2 = 1;
x3 = 3;
y3 = 1;
x4 = 3;
y4 = 2;;
} (Shape.nextShape! = 0)
{
gObj_.FillRectangle (newLinearGradientBrush (newRectangle (x1 * 30, y1 * 30, 30, 30), Color.DarkRed, SystemColors.Control, LinearGradientMode.BackwardDiagonal), x1 * 30, y1 * 30, 30, 30);
gObj_.FillRectangle (newLinearGradientBrush (newRectangle (x2 * 30, y2 * 30, 30, 30), Color.DarkRed, SystemColors.Control, LinearGradientMode.BackwardDiagonal), x2 * 30, y2 * 30, 30, 30);
gObj_.FillRectangle (newLinearGradientBrush (newRectangle (x3 * 30, y3 * 30, 30, 30), Color.DarkRed, SystemColors.Control, LinearGradientMode.BackwardDiagonal), x3 * 30, y3 * 30, 30, 30);
gObj_.FillRectangle (newLinearGradientBrush (newRectangle (x4 * 30, y4 * 30, 30, 30), Color.Dark...