/// callback when the point is updated
    /// @param sender the object that sent the event
    /// @param e the event arguments

    void myControl_PrimaryPointUpdateSmooth(object sender, HandEventArgs e)
    {
        m_lastFrameCurPoint.UpdatePoint(e.Hand.Position, e.Hand.Confidence);
        m_curPoint = e.Hand;
    }