Program.cs 898 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #region File Description
  2. //-----------------------------------------------------------------------------
  3. // Program.cs
  4. //
  5. // Microsoft XNA Community Game Platform
  6. // Copyright (C) Microsoft Corporation. All rights reserved.
  7. //-----------------------------------------------------------------------------
  8. #endregion
  9. #region Using Statements
  10. using System;
  11. #if IOS
  12. using MonoTouch.Foundation;
  13. using MonoTouch.UIKit;
  14. #endif
  15. #endregion
  16. namespace MonoTest
  17. {
  18. [Register ("AppDelegate")]
  19. class Program : UIApplicationDelegate
  20. {
  21. public override void FinishedLaunching (UIApplication app)
  22. {
  23. // Fun begins..
  24. using (Game1 game = new Game1())
  25. {
  26. game.Run();
  27. }
  28. //MediaLibrary lib = new MediaLibrary();
  29. //object result = lib.Playlists;
  30. }
  31. static void Main (string [] args)
  32. {
  33. UIApplication.Main (args,null,"AppDelegate");
  34. }
  35. }
  36. }