public void DrawLine(int xLeft, int yTop, int xRight, int yBottom) { if (DrawActions == null) DrawActions = new List<object>(); DrawActions.Add(new DrawLineAction() { Left = xLeft, Top = yTop, Right = xRight, Bottom = yBottom, LineColor = ForeColor }); }