diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-26 13:12:10 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-26 13:12:10 +0200 |
| commit | c338e69e9b60ddb71102a6b11058912dd06d5018 (patch) | |
| tree | 16d1445dd6028a4419eb1769affd757a5c1a05fc /Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs | |
| parent | 03180d26af65c24822cf5ffd44a347db7394d3b2 (diff) | |
| download | Tango-c338e69e9b60ddb71102a6b11058912dd06d5018.tar.gz Tango-c338e69e9b60ddb71102a6b11058912dd06d5018.zip | |
Import job & update completed with dialogs!
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs | 16 |
1 files changed, 16 insertions, 0 deletions
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 f68d57805..27df6ae1d 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs @@ -173,6 +173,22 @@ namespace Tango.PPC.UI.Notifications } /// <summary> + /// Shows a success message box. + /// </summary> + /// <param name="message">The message.</param> + /// <returns></returns> + public Task ShowSuccess(string message) + { + return ShowMessageBox(new MessageBoxVM() + { + Message = message, + Icon = TouchIconKind.Check, + Title = "Success", + Brush = Application.Current.Resources["TangoMessageBoxSuccessBrush"] as Brush, + }); + } + + /// <summary> /// Shows the message box. /// </summary> /// <param name="vm">The view model.</param> |
