Exemple #1
0
        /// <summary>
        /// Cleanup because tracking has finished.
        /// </summary>
        public override void Cleanup()
        {
            // If the indicators are currently showing
            if (_hotInside)
            {
                // Remove indicator from display
                _drop.Hide();
                _drop.Dispose();

                _hotInside = false;
            }
        }
Exemple #2
0
        private void Cleanup()
        {
            // If the indicators are currently showing
            if (_hotInside)
            {
                // Remove indicators from display
                _drop.Hide();

                // Dispose of resources
                _drop.Dispose();

                _hotInside = false;
            }
        }
Exemple #3
0
        /// <summary>
        /// Cleanup because tracking has finished.
        /// </summary>
        public override void Cleanup()
        {
            // If the indicators are currently showing
            if (_hotInside)
            {
                // Remove indicators from display
                _dropLeft.Hide();
                _dropRight.Hide();
                _dropTop.Hide();
                _dropBottom.Hide();

                // Dispose of resources
                _dropLeft.Dispose();
                _dropRight.Dispose();
                _dropTop.Dispose();
                _dropBottom.Dispose();

                _hotInside = false;
            }
        }