using Eto.Forms; using LBPUnion.UnionPatcher.Gui.Forms; namespace LBPUnion.UnionPatcher.Gui; public static class Gui { public static void Show() { new Application().Run(new ModeSelectionForm()); } public static void CreateOkDialog(string title, string errorMessage) { MessageBox.Show(errorMessage, title, MessageBoxButtons.OK); } public static bool CreateConfirmationDialog(string title, string errorMessage) { DialogResult result = MessageBox.Show(errorMessage, title, MessageBoxButtons.YesNo, MessageBoxType.Question); return result == DialogResult.Yes; } }