From 592a6c4327834f7c2efd88b6927ab7a1f22e4966 Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Thu, 13 Aug 2020 14:45:02 -0400 Subject: [PATCH] replace WinForms with UWT and fix references --- Applications/UniversalEditor.Bootstrapper/Program.cs | 9 +++++---- .../UniversalEditor.Bootstrapper.csproj | 3 +-- 2 files changed, 6 insertions(+), 6 deletions(-) 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