From 8a93640ad8e25af0b392337306011b80ea9a302a Mon Sep 17 00:00:00 2001 From: Antony Male Date: Wed, 21 May 2014 12:23:58 +0100 Subject: [PATCH] Catch another place were MessageBox.Show was used --- StyletIntegrationTests/Bootstrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StyletIntegrationTests/Bootstrapper.cs b/StyletIntegrationTests/Bootstrapper.cs index 3bc3491..48c1089 100644 --- a/StyletIntegrationTests/Bootstrapper.cs +++ b/StyletIntegrationTests/Bootstrapper.cs @@ -17,7 +17,7 @@ namespace StyletIntegrationTests var message = e.Exception.Message; if (e.Exception is TargetInvocationException) message = e.Exception.InnerException.Message; - MessageBox.Show(String.Format("Unhandled Exception: {0}", message)); + IoC.Get().ShowMessageBox(String.Format("Unhandled Exception: {0}", message)); e.Handled = true; } }