Program.cs 1008 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. Game1 game = new Game1();
  24. game.Run();
  25. }
  26. /// <summary>
  27. /// The main entry point for the application.
  28. /// </summary>
  29. static void Main(string[] args)
  30. {
  31. UIApplication.Main(args, null, "AppDelegate");
  32. }
  33. }
  34. #endregion
  35. }