Program.cs 552 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using Avalonia;
  6. using Avalonia.Controls;
  7. using ControlCatalog;
  8. namespace GtkInteropDemo
  9. {
  10. static class Program
  11. {
  12. /// <summary>
  13. /// The main entry point for the application.
  14. /// </summary>
  15. [STAThread]
  16. static void Main()
  17. {
  18. AppBuilder.Configure<App>().UseGtk().UseCairo().SetupWithoutStarting();
  19. new MainWindow().Show();
  20. Gtk.Application.Run();
  21. }
  22. }
  23. }