diff --git a/Applications/UniversalEditor.Bootstrapper/Program.cs b/Applications/UniversalEditor.Bootstrapper/Program.cs index 75ce4a14..3411d101 100644 --- a/Applications/UniversalEditor.Bootstrapper/Program.cs +++ b/Applications/UniversalEditor.Bootstrapper/Program.cs @@ -20,9 +20,10 @@ // along with this program. If not, see . using System; -using System.Collections.Generic; using System.Reflection; -using System.Windows.Forms; + +using MBS.Framework.UserInterface.Dialogs; + using UniversalEditor.UserInterface; namespace UniversalEditor.Bootstrapper @@ -46,7 +47,7 @@ namespace UniversalEditor.Bootstrapper } catch { - MessageBox.Show("The file 'UniversalEditor.UserInterface.dll' is required for this software to run, but is either missing or corrupted. Please re-install the software and try again.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageDialog.ShowDialog("The file 'UniversalEditor.UserInterface.dll' is required for this software to run, but is either missing or corrupted. Please re-install the software and try again.", "Error", MessageDialogButtons.OK, MessageDialogIcon.Error); return; } @@ -63,7 +64,7 @@ namespace UniversalEditor.Bootstrapper { if (!Engine.Execute()) { - MessageBox.Show("No engines are available to launch this application.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageDialog.ShowDialog("No engines are available to launch this application.", "Error", MessageDialogButtons.OK, MessageDialogIcon.Error); return; } } diff --git a/Applications/UniversalEditor.Bootstrapper/UniversalEditor.Bootstrapper.csproj b/Applications/UniversalEditor.Bootstrapper/UniversalEditor.Bootstrapper.csproj index 58922eff..6e348009 100644 --- a/Applications/UniversalEditor.Bootstrapper/UniversalEditor.Bootstrapper.csproj +++ b/Applications/UniversalEditor.Bootstrapper/UniversalEditor.Bootstrapper.csproj @@ -42,7 +42,6 @@ - @@ -84,7 +83,7 @@ {30467E5C-05BC-4856-AADC-13906EF4CADD} UniversalEditor.Essential - + {29E1C1BB-3EA5-4062-B62F-85EEC703FE07} MBS.Framework.UserInterface