Program.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. using MonoTouch.Foundation;
  12. using MonoTouch.UIKit;
  13. #endregion
  14. namespace TouchGestureSample
  15. {
  16. #region Entry Point
  17. [Register("AppDelegate")]
  18. class Program : UIApplicationDelegate
  19. {
  20. public override void FinishedLaunching(UIApplication app)
  21. {
  22. // Fun begins..
  23. using (Game1 game = new Game1())
  24. {
  25. game.Run();
  26. }
  27. }
  28. /// <summary>
  29. /// The main entry point for the application.
  30. /// </summary>
  31. static void Main(string[] args)
  32. {
  33. UIApplication.Main(args, null, "AppDelegate");
  34. }
  35. }
  36. #endregion
  37. }