internal void DrawSessionGrid(Pen pen, long x)
{
this.graphics.DrawLine(pen, (int)((double)ClientX(new DateTime(x)) - this.intervalWidth / 2.0), this.canvasTopOffset, (int)((double)this.ClientX(new DateTime(x)) - this.intervalWidth / 2.0), this.canvasTopOffset + this.Height - (this.canvasBottomOffset + this.canvasTopOffset));
}