release/0.6.0 #2

Merged
Ray merged 7 commits from release/0.6.0 into master 2024-07-20 21:52:48 +00:00
Showing only changes of commit a7c9e8ca6d - Show all commits

View File

@ -14,6 +14,7 @@ using bzit.bomg.Models;
using FizzyLauncher.Models; using FizzyLauncher.Models;
using RyzStudio; using RyzStudio;
using RyzStudio.Windows.Forms; using RyzStudio.Windows.Forms;
using RyzStudio.Windows.ThemedForms;
namespace FizzyLauncher namespace FizzyLauncher
{ {
@ -670,7 +671,7 @@ namespace FizzyLauncher
if (this.CurrentSession == null) 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; return false;
} }
@ -771,7 +772,7 @@ namespace FizzyLauncher
{ {
if (showNotices) 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) if (showNotices)
{ {
MessageBox.Show("Session saved!", "Save session", MessageBoxButtons.OK, MessageBoxIcon.Information); ThMessageBox.Show(this, "Session saved!", "Save session", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
} }
else else
{ {
if (showNotices) if (showNotices)
{ {
MessageBox.Show(result.Message, "Save session"); ThMessageBox.Show(this, result.Message, "Save session");
} }
} }