Files
FSI.BT.IR.Tools/FSI.BT.Tools/Global/Commands/ExitCommand.cs
Maier Stephan SI 1c68b8f401 Sicherung
2023-04-17 07:07:49 +02:00

21 lines
482 B
C#

using System.Windows;
namespace FSI.BT.Tools.Global.Commands
{
/// <summary>
/// Shows the main window.
/// </summary>
public class ExitCommand : CommandBase<ExitCommand>
{
public override void Execute(object parameter)
{
Vars.Log.Info("Anwendung wurde beendet!");
Application.Current.Shutdown();
}
public override bool CanExecute(object parameter)
{
return true;
}
}
}