public EllipseView(DrawingEllipse rect, Pad pad) : base() { this.drawingEllipse = rect; this.Pad = pad; this.ToolTipEnabled = true; this.ToolTipFormat = "dfdsd"; }
public void DrawEllipse(DrawingEllipse circle, int padNumber) { lock (this.dataLock) { if (!this.volumePadShown && padNumber > 1) --padNumber; EllipseView view = new EllipseView(circle, this.pads[padNumber]); circle.Updated += new EventHandler(this.HandleUpdated); this.pads[padNumber].AddPrimitive(view); view.SetInterval(this.leftDateTime, this.rightDateTime); this.contentUpdated = true; } }