Обновление
* Добавлена проверка на существование SII_Decrypt.dll * Убран несущественный this в UpdateForm Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
@@ -138,6 +138,12 @@ namespace SaveWizard_rewritten
|
|||||||
|
|
||||||
private void MainForm_Load(object sender, EventArgs e)
|
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>
|
items = new Dictionary<TextBox, WindowText>
|
||||||
{
|
{
|
||||||
{ txt_money, new WindowText(chk_money, "money_account:") },
|
{ txt_money, new WindowText(chk_money, "money_account:") },
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ namespace SaveWizard_rewritten
|
|||||||
|
|
||||||
private void backgroundWorker1_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e)
|
private void backgroundWorker1_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e)
|
||||||
{
|
{
|
||||||
this.Close();
|
Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user