From 97e45f70267d961168b77b149022b94022e0e199 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 24 Apr 2018 19:05:53 +0300 Subject: Working on reporting... --- .../Tango.MachineStudio.Common/Notifications/DialogViewVM.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications') diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/DialogViewVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/DialogViewVM.cs index 5fcd63071..c8d606efc 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/DialogViewVM.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/DialogViewVM.cs @@ -24,6 +24,7 @@ namespace Tango.MachineStudio.Common.Notifications { CanClose = true; CloseCommand = new RelayCommand(Cancel, (x) => CanClose); + OKCommand = new RelayCommand(Accept, (x) => CanClose); } private bool _canClose; @@ -41,6 +42,11 @@ namespace Tango.MachineStudio.Common.Notifications /// public RelayCommand CloseCommand { get; set; } + /// + /// Gets or sets the ok command. + /// + public RelayCommand OKCommand { get; set; } + /// /// Called when the dialog has been shown. /// -- cgit v1.3.1