Program.cs 1002 B

123456789101112131415161718192021222324252627282930313233
  1. //-----------------------------------------------------------------------------
  2. // Program.cs
  3. //
  4. // Microsoft XNA Community Game Platform
  5. // Copyright (C) Microsoft Corporation. All rights reserved.
  6. //-----------------------------------------------------------------------------
  7. using System;
  8. using System.Collections.Generic;
  9. using System.Windows.Forms;
  10. namespace Xna.Tools
  11. {
  12. static class Program
  13. {
  14. /// <summary>
  15. /// The main entry point for the application.
  16. /// </summary>
  17. [STAThread]
  18. static void Main()
  19. {
  20. Application.EnableVisualStyles();
  21. Application.SetCompatibleTextRenderingDefault(false);
  22. // Generate default application container and add Curve editor to
  23. // container.
  24. AppContainer appContainer = new AppContainer();
  25. CurveEditor curveEditor = new CurveEditor();
  26. appContainer.Add(curveEditor);
  27. Application.Run(curveEditor);
  28. }
  29. }
  30. }