KillProgressChangedEvent.cs 843 B

123456789101112131415161718192021222324252627
  1. using System.ComponentModel;
  2. namespace Update.Net.Events
  3. {
  4. /// <summary>
  5. /// 结束进程进度报告事件类型
  6. /// </summary>
  7. /// <param name="sender"></param>
  8. /// <param name="e"></param>
  9. public delegate void KillProgressChangedEventHandler(object sender, KillProgressChangedEventArgs e);
  10. /// <summary>
  11. /// 结束进程进度报告事件数据
  12. /// </summary>
  13. public class KillProgressChangedEventArgs : ProgressChangedEventArgs
  14. {
  15. /// <summary>
  16. /// 构造函数
  17. /// </summary>
  18. /// <param name="progressPercentage">进度百分比</param>
  19. /// <param name="userState">用户数据</param>
  20. public KillProgressChangedEventArgs(int progressPercentage, object userState)
  21. : base(progressPercentage, userState)
  22. {
  23. }
  24. }
  25. }