StatusBarPanelClickEventArgs.cs 954 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // System.Windows.Forms.StatusBarPanelClickEventArgs
  3. //
  4. // Author:
  5. // stubbed out by Richard Baumann ([email protected])
  6. // Partially completed by Dennis Hayes ([email protected])
  7. // Gianandrea Terzi ([email protected])
  8. //
  9. // (C) Ximian, Inc., 2002
  10. //
  11. namespace System.Windows.Forms {
  12. /// <summary>
  13. /// Provides data for the PanelClick event.
  14. /// </summary>
  15. public class StatusBarPanelClickEventArgs : MouseEventArgs {
  16. private StatusBarPanel panel;
  17. /// --- Constructor ---
  18. public StatusBarPanelClickEventArgs(StatusBarPanel panel, MouseButtons button, int clicks, int x, int y) : base(button, clicks, x, y, 0)
  19. {
  20. this.panel = panel;
  21. }
  22. #region Public Properties
  23. /// <summary>
  24. /// StatusBarPanel Property
  25. /// </summary>
  26. ///
  27. /// <remarks>
  28. /// Gets the StatusBarPanel to draw.
  29. /// </remarks>
  30. public StatusBarPanel StatusBarPanel
  31. {
  32. get
  33. {
  34. return panel;
  35. }
  36. }
  37. #endregion
  38. }
  39. }