internal void HideAd() { if (mWebBrowser.InvokeRequired) { mWebBrowser.Invoke(new MethodInvoker(HideAd)); } else { if (SystemStatus == AppStatus.OnAd) { AdManager.HideAd(); } } }
internal void ShowAd() { if (mWebBrowser.InvokeRequired) { mWebBrowser.Invoke(new MethodInvoker(ShowAd)); } else { if (SystemStatus == AppStatus.Idle) { AdManager.ShowAd(); } } }
internal void HideAd() { OnHideAd(); Visible = false; AdManager.NotifyLeaveAd(); }
internal void ShowAd() { OnShowAd(); Visible = true; AdManager.NotifyEnterAd(); }