Обновление

* Добавлена проверка на существование SII_Decrypt.dll
* Убран несущественный this в UpdateForm

Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
2025-03-02 12:48:30 +07:00
parent 39961e91d9
commit dab5ebefc1
2 changed files with 7 additions and 1 deletions

View File

@@ -138,6 +138,12 @@ namespace SaveWizard_rewritten
private void MainForm_Load(object sender, EventArgs e)
{
if (!File.Exists("SII_Decrypt.dll"))
{
Utils.ShowError("SII_Decrypt.dll not found! Place dll file near this executable.");
Close();
}
items = new Dictionary<TextBox, WindowText>
{
{ txt_money, new WindowText(chk_money, "money_account:") },

View File

@@ -74,7 +74,7 @@ namespace SaveWizard_rewritten
private void backgroundWorker1_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e)
{
this.Close();
Close();
}
}
}