Neuerstellung
This commit is contained in:
20
FSI.BT.Tools/Commands/ExitCommand.cs
Normal file
20
FSI.BT.Tools/Commands/ExitCommand.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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)
|
||||
{
|
||||
Application.Current.Shutdown();
|
||||
}
|
||||
|
||||
public override bool CanExecute(object parameter)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user