コード例 #1
0
ファイル: HotAreaInside.cs プロジェクト: zhaoyin/officeOBA
        /// <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;
            }
        }
コード例 #2
0
ファイル: TargetArea.cs プロジェクト: zhaoyin/officeOBA
        private void Cleanup()
        {
            // If the indicators are currently showing
            if (_hotInside)
            {
                // Remove indicators from display
                _drop.Hide();

                // Dispose of resources
                _drop.Dispose();

                _hotInside = false;
            }
        }
コード例 #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;
            }
        }