public void OnFullScreen(Window window)
 {
     if (window != null)
     {
         window.ToFullscreen();
     }
 }