コード例 #1
0
ファイル: GamePage.xaml.cs プロジェクト: Aztherion/WASAPI.Net
        // Constructor
        public GamePage()
        {
            InitializeComponent();

            _game = XamlGame<Game1>.Create("", this);

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: Breadmouth/Gravitas
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }