aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs16
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>