moved to MVVM architecture

This commit is contained in:
2026-08-08 21:24:02 +05:00
parent a1ff8cc923
commit 3d614255d8
19 changed files with 565 additions and 346 deletions
+16
View File
@@ -0,0 +1,16 @@
using System.Windows;
using CursorLang.ViewModels;
namespace CursorLang.Views;
/// <summary>
/// Главное окно: показывает текущую раскладку.
/// </summary>
public partial class MainWindow : Window
{
public MainWindow(MainViewModel viewModel)
{
InitializeComponent();
DataContext = viewModel;
}
}