| 123456789101112131415161718192021222324252627282930313233 |
- using System;
- using Foundation;
- using UIKit;
- namespace Demo5
- {
- [Register("AppDelegate")]
- internal class Program : UIApplicationDelegate
- {
- private static Game1 game;
- internal static void RunGame()
- {
- game = new Game1();
- game.Run();
- }
- /// <summary>
- /// The main entry point for the application.
- /// </summary>
- static void Main(string[] args)
- {
- UIApplication.Main(args, null, typeof(Program));
- }
- public override void FinishedLaunching(UIApplication app)
- {
- RunGame();
- }
- }
- }
|