Ejemplo n.º 1
0
 private void WindowOnMouseLeaveActions(WindowEvent sdlWindowEvent)
 {
     if (isMouseCurrentlyHidden)
     {
         Cursor.Show();
         isMouseCurrentlyHidden = false;
     }
 }
Ejemplo n.º 2
0
 private void WindowOnMouseEnterActions(WindowEvent sdlWindowEvent)
 {
     if (!isMouseVisible && !isMouseCurrentlyHidden)
     {
         Cursor.Hide();
         isMouseCurrentlyHidden = true;
     }
 }