зеркало из https://github.com/AvaloniaUI/Avalonia.git
23 строки
470 B
C#
23 строки
470 B
C#
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Markup.Xaml;
|
|
using Avalonia.Rendering;
|
|
|
|
namespace GpuInterop
|
|
{
|
|
public class MainWindow : Window
|
|
{
|
|
public MainWindow()
|
|
{
|
|
InitializeComponent();
|
|
this.AttachDevTools();
|
|
RendererDiagnostics.DebugOverlays = RendererDebugOverlays.Fps;
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
AvaloniaXamlLoader.Load(this);
|
|
}
|
|
}
|
|
}
|