public void DrawImage(DrawingImage image, int padNumber)
{
lock (this.lockObject)
{
if (!this.volumePadShown && padNumber > 1)
--padNumber;
ImageView local_0 = new ImageView(image, this.pads[padNumber]);
image.Updated += new EventHandler(this.OnPrimitiveUpdated);
this.pads[padNumber].AddPrimitive((IChartDrawable)local_0);
local_0.SetInterval(this.leftDateTime, this.rightDateTime);
this.contentUpdated = true;
}
}