20 lines
467 B
C#
20 lines
467 B
C#
using System.Windows;
|
|
using CursorLang.Services;
|
|
using CursorLang.ViewModels;
|
|
|
|
namespace CursorLang.Views;
|
|
|
|
/// <summary>
|
|
/// The settings window of the application.
|
|
/// </summary>
|
|
public partial class MainWindow : Window
|
|
{
|
|
public MainWindow(SettingsViewModel viewModel, IThemeService theme, MainWindowPlacement placement)
|
|
{
|
|
InitializeComponent();
|
|
DataContext = viewModel;
|
|
theme.Register(this);
|
|
placement.Attach(this);
|
|
}
|
|
}
|