Обновление

* Добавлены методы для показа информационных сообщений
* Обновлена логика основной формы

Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
2025-03-02 00:48:42 +07:00
parent 9b7ee59707
commit 65070cd85b
2 changed files with 16 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
namespace SaveWizard_rewritten
{
@@ -23,5 +24,15 @@ namespace SaveWizard_rewritten
return sb.ToString();
}
}
public static void ShowError(string message)
{
MessageBox.Show(message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
public static void ShowInfo(string message)
{
MessageBox.Show(message, "Info", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}