MainWindow.axaml.cs 411 B

123456789101112131415161718192021
  1. using Avalonia;
  2. using Avalonia.Controls;
  3. using Avalonia.Markup.Xaml;
  4. using Avalonia.Win32.WinRT.Composition;
  5. namespace Sandbox
  6. {
  7. public class MainWindow : Window
  8. {
  9. public MainWindow()
  10. {
  11. this.InitializeComponent();
  12. this.AttachDevTools();
  13. }
  14. private void InitializeComponent()
  15. {
  16. AvaloniaXamlLoader.Load(this);
  17. }
  18. }
  19. }