123456789101112131415161718192021222324 |
- using Prism.Commands;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace InvestTracker.Commands
- {
- public class DataCommands
- {
- public static DelegateCommand ExitCommand { get; set; }
- static DataCommands()
- {
- ExitCommand = new DelegateCommand(ExitCommandExecuted);
- }
- public static void ExitCommandExecuted()
- {
- App.Current.Shutdown();
- }
- }
- }
|