public RayView(DrawingRay ray, Pad pad) : base() { this.toolTipEnabled = true; this.toolTipFormat = ""; this.mYYSbcj8S = ray; this.Pad = pad; this.toolTipEnabled = true; this.toolTipFormat = "tootl"; int index = pad.Series.GetIndex(ray.X, EIndexOption.Prev); if (index == -1) return; this.chartFirstDate = pad.Series.GetDateTime(index); this.chartLastDate = DateTime.MaxValue; }
public RayView(DrawingRay ray, Pad pad) : base() { this.toolTipEnabled = true; this.toolTipFormat = ""; this.mYYSbcj8S = ray; this.Pad = pad; this.toolTipEnabled = true; this.toolTipFormat = "tootl"; int index = pad.Series.GetIndex(ray.X, EIndexOption.Prev); if (index == -1) { return; } this.chartFirstDate = pad.Series.GetDateTime(index); this.chartLastDate = DateTime.MaxValue; }
public void DrawRay(DrawingRay ray, int padNumber) { lock(this.dataLock) { if (!this.volumePadShown && padNumber > 1) --padNumber; RayView view = new RayView(ray, this.pads[padNumber]); ray.Updated += new EventHandler(this.HandleUpdated); this.pads[padNumber].AddPrimitive(view); view.SetInterval(this.leftDateTime, this.rightDateTime); this.contentUpdated = true; } }