Files
NebulaLauncher/Nebula.Launcher/Views/MainWindow.axaml.cs
2025-01-23 20:43:52 +03:00

23 lines
495 B
C#

using Avalonia;
using Avalonia.Controls;
namespace Nebula.Launcher.Views;
public partial class MainWindow : Window
{
// This constructor is used when the view is created by the XAML Previewer
public MainWindow()
{
InitializeComponent();
}
// This constructor is used when the view is created via dependency injection
public MainWindow(MainView mainView)
: this()
{
Content = mainView;
#if DEBUG
this.AttachDevTools();
#endif
}
}