ControlEventArgs.cs 704 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // System.Windows.Forms.ControlEventArgs.cs
  3. //
  4. // Author:
  5. // stubbed out by Jaak Simm ([email protected])
  6. // implemented for Gtk+ by Rachel Hestilow ([email protected])
  7. // (C) Ximian, Inc., 2002
  8. namespace System.Windows.Forms
  9. {
  10. /// <summary>
  11. /// Provides data for the ControlAdded and ControlRemoved events.
  12. /// ToDo note:
  13. /// - no methods are implemented
  14. /// </summary>
  15. public class ControlEventArgs : EventArgs
  16. {
  17. Control control;
  18. #region Constructors
  19. public ControlEventArgs(Control control) {
  20. this.control = control;
  21. }
  22. #endregion
  23. #region Properties
  24. public Control Control {
  25. get { return control; }
  26. }
  27. #endregion
  28. }
  29. }