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