public void DrawRectangle(int xLeft, int yTop, int xRight, int yBottom)
{
RectanglesDrawn.Add(new Rectangle(xLeft, yTop, xRight - xLeft, yBottom - yTop));
RectColorsDrawn.Add(BackColor);
if (DrawActions == null)
DrawActions = new List<object>();
DrawActions.Add(new DrawRectangleAction()
{Left = xLeft, Top = yTop, Right = xRight, Bottom = yBottom, Bgr = BackColor});
}