mirror of
https://github.com/KeyKeeperApp/KeyKeeper.git
synced 2026-04-17 18:16:28 +03:00
Update MainWindowViewModel.cs
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user