예제 #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);
 }