예제 #1
0
파일: ImageView.cs 프로젝트: heber/FreeOQ
		public ImageView(DrawingImage image, Pad pad) : base()
		{
			this.drawingImage = image;
			this.Pad = pad;
			this.ToolTipEnabled = true;
			this.ToolTipFormat = "ttoot";
		}
예제 #2
0
파일: Chart.cs 프로젝트: heber/FreeOQ
		public void DrawImage(DrawingImage image, int padNumber)
		{
			lock(this.dataLock)
			{
				if (!this.volumePadShown && padNumber > 1)
					--padNumber;
				ImageView view = new ImageView(image, this.pads[padNumber]);
				image.Updated += new EventHandler(this.HandleUpdated);
				this.pads[padNumber].AddPrimitive(view);
				view.SetInterval(this.leftDateTime, this.rightDateTime);
				this.contentUpdated = true;
			}
		}