[#] 减少不必要的文件重复读入,提升软件启动速度

This commit is contained in:
huiyadanli 2022-04-30 17:01:58 +08:00
parent 3cdc1edee3
commit 409b377ab5

View File

@ -76,7 +76,7 @@ namespace RevokeMsgPatcher
// 自动获取应用安装路径
txtPath.Text = modifier.FindInstallPath();
// 显示是否能够备份还原、版本和功能
InitEditorsAndUI(txtPath.Text);
//InitEditorsAndUI(txtPath.Text);
}
private void InitEditorsAndUI(string path)
@ -362,7 +362,7 @@ namespace RevokeMsgPatcher
EnableAllButton(true);
// 重新计算显示是否能够备份还原、版本和功能
InitEditorsAndUI(txtPath.Text);
//InitEditorsAndUI(txtPath.Text);
ga.RequestPageView($"{GetCheckedRadioButtonNameEn()}/{lblVersion.Text}/switch", "切换标签页");
}