Files
FSI.BT.IR.Tools/FSI.BT.Tools/Commands/ExitCommand.cs
Maier Stephan SI d01747f75a Sicherung
2023-01-02 04:33:49 +01:00

21 lines
477 B
C#

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