Program.cs 499 B

123456789101112131415161718192021222324252627
  1. using System;
  2. namespace OpenVIII.DirectX
  3. {
  4. #if WINDOWS
  5. /// <summary>
  6. /// The main class.
  7. /// </summary>
  8. public static class Program
  9. {
  10. /// <summary>
  11. /// The main entry point for the application.
  12. /// </summary>
  13. [STAThread]
  14. private static void Main(string[] args)
  15. {
  16. using (var game = new Game1())
  17. {
  18. game.Arguments = args;
  19. game.Run();
  20. }
  21. }
  22. }
  23. #endif
  24. }