Program.cs 914 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 IPHONE
  12. using MonoTouch.Foundation;
  13. using MonoTouch.UIKit;
  14. #endif
  15. #endregion
  16. namespace Marblets
  17. {
  18. [Register ("AppDelegate")]
  19. class Program : UIApplicationDelegate
  20. {
  21. public override void FinishedLaunching (UIApplication app)
  22. {
  23. // Fun begins..
  24. using (MarbletsGame game = new MarbletsGame())
  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. }