private void Current_SizeChanged(object sender, Windows.UI.Core.WindowSizeChangedEventArgs e)
 {
     bounds = ApplicationView.GetForCurrentView().VisibleBounds;
     Scaling.SetScale();
 }
        private void GameCanvas_Draw(CanvasControl sender, CanvasDrawEventArgs args)
        {
            args.DrawingSession.DrawImage(Scaling.Img(MenuScreen));

            GameCanvas.Invalidate();
        }
 public MainPage()
 {
     this.InitializeComponent();
     Window.Current.SizeChanged += Current_SizeChanged;
     Scaling.SetScale();
 }