2
0

WorkEventArgs.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //using System;
  2. //using System.Collections.Generic;
  3. //using System.Linq;
  4. //using System.Text;
  5. //using System.Threading.Tasks;
  6. //using System.Windows.Forms;
  7. //namespace Optimizer.Models {
  8. // public sealed class WorkEventArgs {
  9. // string _fileName;
  10. // string _eventType;
  11. // ListViewItem _currentItem;
  12. // public WorkEventArgs(string fileName, string eventType, ListViewItem currentItem) {
  13. // _fileName = fileName;
  14. // _eventType = eventType;
  15. // if (currentItem != null) {
  16. // _currentItem = currentItem;
  17. // }
  18. // }
  19. // public string FileName {
  20. // get {
  21. // return _fileName;
  22. // }
  23. // }
  24. // public string EventType {
  25. // get {
  26. // return _eventType;
  27. // }
  28. // }
  29. // public ListViewItem CurrentItem {
  30. // get {
  31. // if (_currentItem != null) {
  32. // return _currentItem;
  33. // }
  34. // else {
  35. // return null;
  36. // }
  37. // }
  38. // }
  39. // }
  40. //}