예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="e"></param>
        protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseMove(e);

            HitInfo hitInfo = new HitInfo(new Point(e.X, e.Y), this);

            if (!hitInfo.Compare(m_LastHitInfo))
            {
                DrawObject(hitInfo, true);
                m_LastHitInfo = hitInfo;
            }
        }
예제 #2
0
        [System.Diagnostics.DebuggerStepThrough] protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e)
        {
            base.OnMouseMove(e);

            HitInfo hitInfo = new HitInfo(new Point(e.X, e.Y), this);

            if (!hitInfo.Compare(m_LastHitInfo))
            {
                DrawObject(hitInfo, true);
                m_LastHitInfo = hitInfo;
                this.Invalidate();
            }
        }
예제 #3
0
		protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e)
		{
			base.OnMouseMove(e);
			
			HitInfo hitInfo = new HitInfo(new Point(e.X,e.Y),this);
						
			if(!hitInfo.Compare(m_LastHitInfo)){					
				DrawObject(hitInfo,true);
				m_LastHitInfo = hitInfo;
				this.Invalidate();
			}			
		}