using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace DemoService; public partial class ServiceWindow : Window { private readonly bool Admin; public ServiceWindow() { InitializeComponent(); } public ServiceWindow(bool admin) { InitializeComponent(); Admin = admin; } }