EditorItemValueChangedEventArgs.cs 765 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. namespace SAGA.DotNetUtils.WinForms
  3. {
  4. public class EditorItemValueChangedEventArgs : EventArgs
  5. {
  6. private MultiEditorItem editorItem;
  7. public EditorItemValueChangedEventArgs(MultiEditorItem editorItem)
  8. {
  9. this.editorItem = editorItem;
  10. }
  11. public System.Windows.Forms.Control Control
  12. {
  13. get
  14. {
  15. return this.editorItem.Control;
  16. }
  17. }
  18. public MultiEditorItem EditorItem
  19. {
  20. get
  21. {
  22. return this.editorItem;
  23. }
  24. }
  25. public string Label
  26. {
  27. get
  28. {
  29. return this.editorItem.Label;
  30. }
  31. }
  32. }
  33. }