示例#1
0
        private void Free_Click(object sender, RoutedEventArgs e)
        {
            //GameInfo.InstanceInReady.Mode = ModeEnum.Free;
            gameInfo.Mode = ModeEnum.Free;


            try
            {
                gameInfo.LoadFile();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "読み込みエラー", MessageBoxButton.OK, MessageBoxImage.Error);
            }
            var page = new GamePage(gameInfo);

            NavigationService.Navigate(page);
        }