LayoutEventArgs.cs 899 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // System.Windows.Forms.LayoutEventArgs.cs
  3. //
  4. // Author:
  5. // stubbed out by Daniel Carrera ([email protected])
  6. // Partially completed by Dennis Hayes ([email protected])
  7. // Gianandrea Terzi ([email protected])
  8. //
  9. // (C) 2002 Ximian, Inc
  10. //
  11. namespace System.Windows.Forms {
  12. // <summary>
  13. //
  14. // </summary>
  15. public sealed class LayoutEventArgs : EventArgs {
  16. #region Fields
  17. private Control affectedcontrol;
  18. private string affectedproperty;
  19. #endregion
  20. //
  21. // --- Constructor
  22. //
  23. public LayoutEventArgs (Control affectedControl, string affectedProperty)
  24. {
  25. affectedproperty = affectedProperty;
  26. affectedcontrol = affectedControl;
  27. }
  28. #region Public Properties
  29. public Control AffectedControl {
  30. get {
  31. return affectedcontrol;
  32. }
  33. }
  34. public string AffectedProperty {
  35. get {
  36. return affectedproperty;
  37. }
  38. }
  39. #endregion
  40. }
  41. }