diff --git a/MainForm.cs b/MainForm.cs index a5f98ee..6bbcc14 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -14,6 +14,7 @@ using bzit.bomg.Models; using FizzyLauncher.Models; using RyzStudio; using RyzStudio.Windows.Forms; +using RyzStudio.Windows.ThemedForms; namespace FizzyLauncher { @@ -670,7 +671,7 @@ namespace FizzyLauncher if (this.CurrentSession == null) { - MessageBox.Show("Unable to read session", "Load session"); + ThMessageBox.Show(this, "Unable to read session", "Load session", MessageBoxButtons.OK, MessageBoxIcon.Error); return false; } @@ -771,7 +772,7 @@ namespace FizzyLauncher { if (showNotices) { - MessageBox.Show("Unable to save icons", "Save session", MessageBoxButtons.OK, MessageBoxIcon.Information); + ThMessageBox.Show(this, "Unable to save icons", "Save session", MessageBoxButtons.OK, MessageBoxIcon.Error); } } } @@ -786,14 +787,14 @@ namespace FizzyLauncher { if (showNotices) { - MessageBox.Show("Session saved!", "Save session", MessageBoxButtons.OK, MessageBoxIcon.Information); + ThMessageBox.Show(this, "Session saved!", "Save session", MessageBoxButtons.OK, MessageBoxIcon.Information); } } else { if (showNotices) { - MessageBox.Show(result.Message, "Save session"); + ThMessageBox.Show(this, result.Message, "Save session"); } }