Program.cs 777 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using System.Windows.Forms;
  6. namespace MusicPlayer
  7. {
  8. static class Program
  9. {
  10. /// <summary>
  11. /// The main entry point for the application.
  12. /// </summary>
  13. [STAThread]
  14. static void Main()
  15. {
  16. Application.EnableVisualStyles();
  17. Application.SetCompatibleTextRenderingDefault(false);
  18. NetworkHandler nw = new NetworkHandler("http://www.imegumii.nl");
  19. APIHandler api = new APIHandler(nw);
  20. MainForm form = new MainForm();
  21. PlaylistHandler pl = new PlaylistHandler(api);
  22. new Main(nw, api, form,pl);
  23. Application.Run(form);
  24. }
  25. }
  26. }