Index: Core/Gui/src/Core.Gui/Forms/Log/MessageWindow.cs =================================================================== diff -u -r9054269cd1da95844714bf0f14a136036d96e831 -r9cb8438be5a7c00a3925baf09625b8135a2cb43e --- Core/Gui/src/Core.Gui/Forms/Log/MessageWindow.cs (.../MessageWindow.cs) (revision 9054269cd1da95844714bf0f14a136036d96e831) +++ Core/Gui/src/Core.Gui/Forms/Log/MessageWindow.cs (.../MessageWindow.cs) (revision 9cb8438be5a7c00a3925baf09625b8135a2cb43e) @@ -269,7 +269,9 @@ return; } - var messageWindowDialog = new MessageWindowDialog(dialogParent, (string) messagesDataGridView.CurrentRow.Cells[fullMessageColumnDataGridViewTextBoxColumn.Index].Value); + var messageWindowDialog = new MessageWindowDialog( + dialogParent, FontHelper.CreateBitmapFromFont(font, debugLevelUnicode), + (string) messagesDataGridView.CurrentRow.Cells[fullMessageColumnDataGridViewTextBoxColumn.Index].Value); messageWindowDialog.ShowDialog(); } Index: Core/Gui/src/Core.Gui/Forms/Log/MessageWindowDialog.cs =================================================================== diff -u -rf2d4c63c85b952a15075468b5f48048ff5122d95 -r9cb8438be5a7c00a3925baf09625b8135a2cb43e --- Core/Gui/src/Core.Gui/Forms/Log/MessageWindowDialog.cs (.../MessageWindowDialog.cs) (revision f2d4c63c85b952a15075468b5f48048ff5122d95) +++ Core/Gui/src/Core.Gui/Forms/Log/MessageWindowDialog.cs (.../MessageWindowDialog.cs) (revision 9cb8438be5a7c00a3925baf09625b8135a2cb43e) @@ -19,9 +19,9 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.Drawing; using System.Windows.Forms; using Core.Common.Controls.Dialogs; -using Core.Gui.Properties; namespace Core.Gui.Forms.Log { @@ -34,8 +34,10 @@ /// Constructs a new . /// /// The owner of the dialog, for which this should show on top. + /// The icon of the dialog. /// The text to show in the dialog. - public MessageWindowDialog(IWin32Window dialogParent, string text) : base(dialogParent, Resources.application_import_blue1, 200, 150) + public MessageWindowDialog(IWin32Window dialogParent, Bitmap dialogIcon, string text) + : base(dialogParent, dialogIcon, 200, 150) { InitializeComponent(); Index: Core/Gui/test/Core.Gui.Test/Forms/Log/MessageWindowDialogTest.cs =================================================================== diff -u -rf2d4c63c85b952a15075468b5f48048ff5122d95 -r9cb8438be5a7c00a3925baf09625b8135a2cb43e --- Core/Gui/test/Core.Gui.Test/Forms/Log/MessageWindowDialogTest.cs (.../MessageWindowDialogTest.cs) (revision f2d4c63c85b952a15075468b5f48048ff5122d95) +++ Core/Gui/test/Core.Gui.Test/Forms/Log/MessageWindowDialogTest.cs (.../MessageWindowDialogTest.cs) (revision 9cb8438be5a7c00a3925baf09625b8135a2cb43e) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.Drawing; using System.Windows.Forms; using Core.Gui.Forms.Log; using NUnit.Framework; @@ -40,7 +41,7 @@ const string testText = "Some text for the dialog"; // Call - var dialog = new MessageWindowDialog(parent, testText); + var dialog = new MessageWindowDialog(parent, new Bitmap(16, 16), testText); // Assert var textBox = (TextBox) dialog.Controls.Find("textBox", true)[0];