Files
FSI.BT.IR.Tools/FSI.BT.Tools/Global/Commands/ExitCommand.cs
Stephan Maier 647f938eee v1.2
2024-08-27 08:10:27 +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;
}
}
}