示例#1
0
        // DEBUG
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            //this.core.GetMainRender().Load("mysave");
            SLPage p = (SLPage)ViewPageManager.RetrievePage("LoadPage");

            p.ReLoadFileInfo();
            NavigationService.GetNavigationService(this)?.Navigate(p);
        }
示例#2
0
        // DEBUG
        private void button_Click(object sender, RoutedEventArgs e)
        {
            //this.core.GetMainRender().Save("mysave");
            ViewManager.RenderFrameworkElementToJPEG(this.BO_MainGrid, GlobalConfigContext.GAME_SAVE_DIR + "\\tempSnapshot.jpg");
            SLPage p = (SLPage)ViewPageManager.RetrievePage("SavePage");

            p.ReLoadFileInfo();
            NavigationService.GetNavigationService(this)?.Navigate(p);
        }