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