At.FF.Krems.FullscreenBrowser.ScreenRefresher.HideScreenRefresher C# (CSharp) Method

HideScreenRefresher() public method

Hides the screen refresher.
public HideScreenRefresher ( ) : void
return void
        public void HideScreenRefresher()
        {
            if (!this.IsVisible)
            {
                return;
            }

            if (!this.CheckAccess())
            {
                this.Dispatcher.BeginInvoke(new Action(this.HideScreenRefresher));
                return;
            }

            this.Dispatcher.BeginInvoke(new Action(this.eventHook.Stop));
            this.Hide();
            this.StartTimer();
        }