コード例 #1
0
ファイル: UpgradeManager.cs プロジェクト: soundanny23/stoffi
 /// <summary>
 /// The dispatcher of the <see cref="ProgressChanged"/> event
 /// </summary>
 /// <param name="progressPercentage">The playlist that was modified</param>
 /// <param name="userState">The type of modification that occured</param>
 private static void DispatchProgressChanged(int progressPercentage, ProgressState userState)
 {
     if (ProgressChanged != null)
     {
         ProgressChanged(null, new ProgressChangedEventArgs(progressPercentage, userState));
     }
 }
コード例 #2
0
ファイル: UpgradeManager.cs プロジェクト: uQr/stoffi
 /// <summary>
 /// The dispatcher of the <see cref="ProgressChanged"/> event
 /// </summary>
 /// <param name="progressPercentage">The playlist that was modified</param>
 /// <param name="userState">The type of modification that occured</param>
 private static void DispatchProgressChanged(int progressPercentage, ProgressState userState)
 {
     if (ProgressChanged != null)
         ProgressChanged(null, new ProgressChangedEventArgs(progressPercentage, userState));
 }