Update MainWindowViewModel.cs

This commit is contained in:
Chernykh Aleksandr
2025-11-07 16:02:40 +03:00
parent 52c0474a20
commit e37d835b3a

View File

@@ -1,6 +1,17 @@
namespace KeyKeeper.ViewModels;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using KeyKeeper.Views;
namespace KeyKeeper.ViewModels;
public partial class MainWindowViewModel : ViewModelBase
{
public string Greeting { get; } = "Welcome to Avalonia!";
[RelayCommand]
private void OpenSettings()
{
var settingsWindow = new SettingsWindow();
settingsWindow.Show();
}
}