コード例 #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);
 }