mirror of
https://github.com/KeyKeeperApp/KeyKeeper.git
synced 2026-05-04 13:56:31 +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 partial class MainWindowViewModel : ViewModelBase
|
||||||
{
|
{
|
||||||
public string Greeting { get; } = "Welcome to Avalonia!";
|
public string Greeting { get; } = "Welcome to Avalonia!";
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void OpenSettings()
|
||||||
|
{
|
||||||
|
var settingsWindow = new SettingsWindow();
|
||||||
|
settingsWindow.Show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user