/// <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; } }
[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(); } }
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(); } }