/// <summary>
        /// 设置进度条和任务栏进度条的状态。
        /// </summary>
        /// <param name="state">要设置的状态。</param>
        private void setProgressState(BlurProgressState state)
        {
            this.TaskbarItemInfo.ProgressState = TaskbarItemProgressState.Indeterminate;
            this.blurProgressBar.ProgressState = state;
            switch (state)
            {
            case BlurProgressState.None:
                this.TaskbarItemInfo.ProgressState = TaskbarItemProgressState.None;
                break;

            case BlurProgressState.Indeterminate:
                this.TaskbarItemInfo.ProgressState = TaskbarItemProgressState.Indeterminate;
                break;

            case BlurProgressState.Normal:
                this.TaskbarItemInfo.ProgressState = TaskbarItemProgressState.Normal;
                break;

            default:
                break;
            }
        }
 /// <summary>
 /// 初始化 <c>RenamerWpf.ProgressStateChangedEventArgs</c> 类的新实例。
 /// </summary>
 /// <param name="oldValue">更改前的属性值。</param>
 /// <param name="newValue">更改后的属性值。</param>
 public ProgressStateChangedEventArgs(BlurProgressState oldValue, BlurProgressState newValue)
 {
     base.RoutedEvent = BlurProgressBar.ProgressStateChangedEvent;
     this.OldValue    = oldValue;
     this.NewValue    = newValue;
 }