add Recommendation

This commit is contained in:
NaBian committed 2019-05-28 23:47:07 +08:00
1 parent ee4125e2bf
commit cf5f84869d
33 files changed
+320 -141

No files matched your search

@@ -0,0 +1,15 @@
using System;
using System.Windows;
using System.Windows.Input;
namespace HandyControl.Interactivity
{
public class ShutdownAppCommand : ICommand
{
public bool CanExecute(object parameter) => true;
public void Execute(object parameter) => Application.Current.Shutdown();
public event EventHandler CanExecuteChanged;
}
}