Пример #1
0
        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();
        }
Пример #2
0
        protected virtual void OnScreenLeave(ScreenEventArgs e)
        {
            if (ScreenLeave != null)
                ScreenLeave(this, e);

            if (overlay != null)
            {
                overlay.Close();
                overlay = null;
            }
        }
Пример #3
0
 protected virtual void OnScreenClick(ScreenEventArgs e)
 {
     if (ScreenClick != null)
         ScreenClick(this, e);
 }