コード例 #1
0
ファイル: RectangleView.cs プロジェクト: zhuzhenping/FreeOQ
 public RectangleView(DrawingRectangle rect, Pad pad) : base()
 {
     this.nQNSrDsxti     = rect;
     this.Pad            = pad;
     this.ToolTipEnabled = true;
     this.ToolTipFormat  = "";
 }
コード例 #2
0
ファイル: RectangleView.cs プロジェクト: heber/FreeOQ
		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;
			}
		}