Files
Daybreak/Daybreak.Shared/Models/Win32Window.cs
T
amacocian 721ee8e494 Huge application refactoring to better support plugins (#960)
* Move shared code to Shared project
* Move from Realm to Squealify
* Rename Daybreak.Shared namespaces
* Setup API project to expose a test API
2025-05-14 16:15:27 +02:00

16 lines
328 B
C#

using System;
using System.Windows;
using System.Windows.Interop;
namespace Daybreak.Shared.Models;
public sealed class Win32Window : System.Windows.Forms.IWin32Window
{
public Win32Window(Window window)
{
this.Handle = new WindowInteropHelper(window).Handle;
}
public nint Handle { get; init; }
}