public void DrawHorizontalTick(Pen pen, double x, double y, int length) { var cY = ClientY(y); Graphics.DrawLine(pen, (int)x, cY, (int)x + length, cY); }