diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-24 13:28:53 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-24 13:28:53 +0200 |
| commit | 7fff53b4e158212572dd0d83b5628e799e05ba01 (patch) | |
| tree | 05932505d589d261515657241d53072af381d108 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Notifications/DefaultNotificationProvider.cs | |
| parent | ecb6665c860f8d7270af9cf8eefaf9ff05e54d62 (diff) | |
| download | Tango-7fff53b4e158212572dd0d83b5628e799e05ba01.tar.gz Tango-7fff53b4e158212572dd0d83b5628e799e05ba01.zip | |
Implemented forced environment version in machine studio.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Notifications/DefaultNotificationProvider.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Notifications/DefaultNotificationProvider.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Notifications/DefaultNotificationProvider.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Notifications/DefaultNotificationProvider.cs index 80509e6c0..161177bf1 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Notifications/DefaultNotificationProvider.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Notifications/DefaultNotificationProvider.cs @@ -383,6 +383,16 @@ namespace Tango.MachineStudio.UI.Notifications } /// <summary> + /// Shows a question message box with an error icon. + /// </summary> + /// <param name="message">The message.</param> + /// <returns></returns> + public bool ShowErrorQuestion(string message) + { + return ShowMessageBox(PackIconKind.CommentAlertOutline, Brushes.DarkOrange, message, true).Value; + } + + /// <summary> /// Pushes the specified task item to the queue. /// </summary> /// <param name="taskItem">The task item.</param> |
