123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #region File Description
- //-----------------------------------------------------------------------------
- // Program.cs
- //
- // Microsoft XNA Community Game Platform
- // Copyright (C) Microsoft Corporation. All rights reserved.
- //-----------------------------------------------------------------------------
- #endregion
- #region Using Statements
- using System;
- using MonoTouch.Foundation;
- using MonoTouch.UIKit;
- #endregion
- namespace TouchGestureSample
- {
- #region Entry Point
- [Register("AppDelegate")]
- class Program : UIApplicationDelegate
- {
- public override void FinishedLaunching(UIApplication app)
- {
- // Fun begins..
- using (Game1 game = new Game1())
- {
- game.Run();
- }
- }
- /// <summary>
- /// The main entry point for the application.
- /// </summary>
- static void Main(string[] args)
- {
- UIApplication.Main(args, null, "AppDelegate");
- }
- }
- #endregion
- }
|