在增加校验进度

This commit is contained in:
jiangqun.chen
2026-07-02 16:53:17 +08:00
parent b9e6db147c
commit 49939dc14c

View File

@@ -1715,6 +1715,13 @@ namespace WinISP
private bool ValidateMonitorVsBin(out string errMsg)
{
errMsg = String.Empty;
prbProgress.Style = ProgressBarStyle.Marquee;
prbProgress.MarqueeAnimationSpeed = 30;
SetStatusMsg("Verifying monitor firmware information, please wait...");
try
{
bool isAmdOrIntel = IsAmdOrIntelPath();
QueryConnectedMonitorInfo();
@@ -1855,6 +1862,13 @@ namespace WinISP
return true;
}
finally
{
prbProgress.MarqueeAnimationSpeed = 0;
prbProgress.Style = ProgressBarStyle.Blocks;
prbProgress.Value = 0;
}
}
List<FlashSectorInfo> flashSectorInfo = new List<FlashSectorInfo>();
private void btnAuto_Click(object sender, EventArgs e)