Changed message-boxes to themed message boxes
This commit is contained in:
parent
d0eda9ff29
commit
a7c9e8ca6d
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user