protected virtual void OnScreenEnter(ScreenEventArgs e) { if (ScreenEnter != null) ScreenEnter(this, e); if (overlay != null) { overlay.Close(); overlay = null; } overlay = new ScreenOverlayWindow(e.Screen); overlay.Show(); }
protected virtual void OnScreenLeave(ScreenEventArgs e) { if (ScreenLeave != null) ScreenLeave(this, e); if (overlay != null) { overlay.Close(); overlay = null; } }
protected virtual void OnScreenClick(ScreenEventArgs e) { if (ScreenClick != null) ScreenClick(this, e); }