Skip to content

Commit

Permalink
more taskbar progress
Browse files Browse the repository at this point in the history
  • Loading branch information
setsumi committed May 5, 2023
1 parent 22e3a3b commit e355efe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/syosetuDownloader/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial class MainWindow : Window
Shell32.Shell _shell;
string _exe_dir;
string _dl_dir;
readonly string _version = "2.4.0 plus 14";
readonly string _version = "2.4.0 plus 14a";

public Util.GridViewTool.SortInfo sortInfo = new Util.GridViewTool.SortInfo();

Expand Down Expand Up @@ -153,6 +153,9 @@ private void btnDownload_Click(object sender, RoutedEventArgs e)
{
btnHistory.Focus();

var taskbar = Microsoft.WindowsAPICodePack.Taskbar.TaskbarManager.Instance;
taskbar.SetProgressState(Microsoft.WindowsAPICodePack.Taskbar.TaskbarProgressBarState.Indeterminate);

Label lb = new Label();
lb.Content = "Preparing...";
lb.Background = Brushes.Gold;
Expand Down

0 comments on commit e355efe

Please sign in to comment.