Program.cs 533 B

1234567891011121314151617181920
  1. using Avalonia;
  2. using System;
  3. namespace AvaloniaApplication2
  4. {
  5. internal sealed class Program
  6. {
  7. [STAThread]
  8. public static void Main(string[] args) => BuildAvaloniaApp()
  9. .StartWithClassicDesktopLifetime(args);
  10. // Avalonia configuration, don't remove; also used by visual designer.
  11. public static AppBuilder BuildAvaloniaApp()
  12. => AppBuilder.Configure<App>()
  13. .UsePlatformDetect()
  14. .WithInterFont()
  15. .LogToTrace();
  16. }
  17. }