1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #region File Description
- //-----------------------------------------------------------------------------
- // Program.cs
- //
- // Microsoft XNA Community Game Platform
- // Copyright (C) Microsoft Corporation. All rights reserved.
- //-----------------------------------------------------------------------------
- #endregion
- #region Using Statements
- using System;
- #if IOS
- using MonoTouch.Foundation;
- using MonoTouch.UIKit;
- #endif
- #endregion
- namespace MonoTest
- {
- [Register ("AppDelegate")]
- class Program : UIApplicationDelegate
- {
- public override void FinishedLaunching (UIApplication app)
- {
- // Fun begins..
- using (Game1 game = new Game1())
- {
- game.Run();
- }
-
- //MediaLibrary lib = new MediaLibrary();
- //object result = lib.Playlists;
- }
- static void Main (string [] args)
- {
- UIApplication.Main (args,null,"AppDelegate");
- }
- }
- }
|