From a47bbe8211c4b7a02c6974cba017d77ea31ffc37 Mon Sep 17 00:00:00 2001 From: Roy Date: Sun, 5 Mar 2023 22:47:23 +0200 Subject: Dialog Adaptations. Separate Job View. Machine Status View Start. EurekaTouchPanel. --- .../Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs index c2c069f45..ac1972f5f 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs @@ -100,6 +100,7 @@ namespace Tango.PPC.UI.Notifications _currentMessageBox = value; RaisePropertyChangedAuto(); RaisePropertyChanged(nameof(HasMessageBox)); + RaisePropertyChanged(nameof(HasDialogOrMessage)); } } @@ -126,6 +127,7 @@ namespace Tango.PPC.UI.Notifications _currentDialog = value; RaisePropertyChangedAuto(); RaisePropertyChanged(nameof(HasDialog)); + RaisePropertyChanged(nameof(HasDialogOrMessage)); } } @@ -150,6 +152,14 @@ namespace Tango.PPC.UI.Notifications } } + public bool HasDialogOrMessage + { + get + { + return HasDialog || HasMessageBox; + } + } + /// /// Shows an error message box. /// -- cgit v1.3.1