Пример #1
0
		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;
    }
Пример #2
0
        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;
        }
Пример #3
0
		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;
			}
		}