|
|
|
@ -16,12 +16,7 @@ namespace WindowsInteropTest |
|
|
|
System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false); |
|
|
|
AppBuilder.Configure<App>() |
|
|
|
.UseWin32() |
|
|
|
.UseDirect2D1() |
|
|
|
.With(new Win32PlatformOptions |
|
|
|
{ |
|
|
|
UseWindowsUIComposition = false, |
|
|
|
ShouldRenderOnUIThread = true // necessary for WPF
|
|
|
|
}) |
|
|
|
.UseSkia() |
|
|
|
.SetupWithoutStarting(); |
|
|
|
System.Windows.Forms.Application.Run(new SelectorForm()); |
|
|
|
} |
|
|
|
|