增加AvaloniaUI版,PC下可用,树莓派失败,原因是Mono的SkiaSharp未支持Linux32
大石头 authored at 2019-10-07 22:49:39
387.00 B
XCoder
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;

namespace XCoderAv
{
    public class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
#if DEBUG
            this.AttachDevTools();
#endif
        }

        private void InitializeComponent()
        {
            AvaloniaXamlLoader.Load(this);
        }
    }
}