Basic window handling.
This commit is contained in:
19
Wino.Core.UWP/Services/AppShellService.cs
Normal file
19
Wino.Core.UWP/Services/AppShellService.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
#if NET8_0
|
||||
using Microsoft.UI.Xaml;
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
#else
|
||||
using Windows.UI.Xaml;
|
||||
#endif
|
||||
|
||||
namespace Wino.Core.WinUI.Services
|
||||
{
|
||||
public interface IAppShellService
|
||||
{
|
||||
Window AppWindow { get; set; }
|
||||
}
|
||||
|
||||
public class AppShellService : IAppShellService
|
||||
{
|
||||
public Window AppWindow { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user