public PathView(DrawingPath path, Pad pad) : base() { this.drawingPath = path; this.Pad = pad; this.ToolTipEnabled = true; this.ToolTipFormat = "tofr"; }
public void DrawPath(DrawingPath path, int padNumber) { lock(this.dataLock) { if (!this.volumePadShown && padNumber > 1) --padNumber; PathView view = new PathView(path, this.pads[padNumber]); path.Updated += new EventHandler(this.HandleUpdated); this.pads[padNumber].AddPrimitive(view); view.SetInterval(this.leftDateTime, this.rightDateTime); this.contentUpdated = true; } }