public void DrawHorizontalGrid(Pen pen, double y) { if (DrawGrid) { var cY = ClientY(y); Graphics.DrawLine(pen, X1, cY, X2, cY); } }