示例#1
0
 public RectangleView(DrawingRectangle rect, Pad pad) : base()
 {
     this.nQNSrDsxti     = rect;
     this.Pad            = pad;
     this.ToolTipEnabled = true;
     this.ToolTipFormat  = "";
 }
示例#2
0
		public RectangleView(DrawingRectangle rect, Pad pad) : base()
    {
      this.nQNSrDsxti = rect;
      this.Pad = pad;
			this.ToolTipEnabled = true;
			this.ToolTipFormat = "";
    }
示例#3
0
文件: Chart.cs 项目: heber/FreeOQ
		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;
			}
		}