From fcb6ad973ce501c0ae64b0a64c11a986616488e3 Mon Sep 17 00:00:00 2001 From: Richard Date: Thu, 28 Jan 2021 11:38:45 +0100 Subject: [PATCH] show progress in windows taskbar --- Code/Form1.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Code/Form1.cs b/Code/Form1.cs index cfb371a..1e1a95b 100644 --- a/Code/Form1.cs +++ b/Code/Form1.cs @@ -110,7 +110,9 @@ namespace Flowframes public void SetProgress(int percent) { - longProgBar.Value = percent.Clamp(0, 100); + percent = percent.Clamp(0, 100); + TaskbarManager.Instance.SetProgressValue(percent, 100); + longProgBar.Value = percent; longProgBar.Refresh(); }