aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2019-08-20 14:49:46 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2019-08-20 14:49:46 +0300
commit53d2c81ebf6a98b4a0c46559abd6a636a4517314 (patch)
tree98aa90fc6cf7684fe45e35b235df7f895206d776 /Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs
parentce8cf84d1e8fd8484debb3ee88c64a14a0eaba47 (diff)
downloadTango-53d2c81ebf6a98b4a0c46559abd6a636a4517314.tar.gz
Tango-53d2c81ebf6a98b4a0c46559abd6a636a4517314.zip
PPC Graphic UX QA_1.1.19
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.cs11
1 files changed, 5 insertions, 6 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 fd967e39a..b543fe58e 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DefaultNotificationProvider.cs
@@ -143,10 +143,9 @@ namespace Tango.PPC.UI.Notifications
Icon = TouchIconKind.AlertCircleOutline,
Title = "Error",
Brush = Application.Current.Resources["TangoMessageBoxErrorBrush"] as Brush,
- MessageType = MessageBoxVM.MessageTypes.Error,
+ HeaderBrush = Application.Current.Resources["TangoMessageBoxHeaderErrorBrush"] as Brush,
});
}
-
/// <summary>
/// Shows an information message box.
/// </summary>
@@ -160,7 +159,7 @@ namespace Tango.PPC.UI.Notifications
Icon = TouchIconKind.AlertCircleOutline,
Title = "Information",
Brush = Application.Current.Resources["TangoMessageBoxInfoBrush"] as Brush,
- MessageType = MessageBoxVM.MessageTypes.Info,
+ HeaderBrush = Application.Current.Resources["TangoMessageBoxHeaderInfoBrush"] as Brush,
});
}
@@ -177,7 +176,7 @@ namespace Tango.PPC.UI.Notifications
Icon = TouchIconKind.AlertCircleOutline,
Title = "Warning",
Brush = Application.Current.Resources["TangoMessageBoxWarningBrush"] as Brush,
- MessageType = MessageBoxVM.MessageTypes.Warning,
+ HeaderBrush = Application.Current.Resources["TangoMessageBoxHeaderWarningBrush"] as Brush,
});
}
@@ -195,7 +194,7 @@ namespace Tango.PPC.UI.Notifications
Title = "Confirm",
HasCancel = true,
Brush = Application.Current.Resources["TangoMessageBoxQuestionBrush"] as Brush,
- MessageType = MessageBoxVM.MessageTypes.Question,
+ HeaderBrush = Application.Current.Resources["TangoMessageBoxHeaderQuestionBrush"] as Brush,
});
}
@@ -212,7 +211,7 @@ namespace Tango.PPC.UI.Notifications
Icon = TouchIconKind.Check,
Title = "Success",
Brush = Application.Current.Resources["TangoMessageBoxSuccessBrush"] as Brush,
- MessageType = MessageBoxVM.MessageTypes.Success,
+ HeaderBrush = Application.Current.Resources["TangoMessageBoxHeaderSuccessBrush"] as Brush,
});
}