main
1using gorilla.commons.utility;
2using MoMoney.Presentation.Views;
3
4namespace momoney.presentation.model.menu.file
5{
6 public interface ICloseWindowCommand : Command {}
7
8 public class CloseWindowCommand : ICloseWindowCommand
9 {
10 readonly IShell shell;
11
12 public CloseWindowCommand(IShell shell)
13 {
14 this.shell = shell;
15 }
16
17 public void run()
18 {
19 shell.close_the_active_window();
20 }
21 }
22}