2
0

PointEventArgs.cs 493 B

1234567891011121314151617181920212223
  1. using System;
  2. namespace Terminal.Gui {
  3. /// <summary>
  4. /// Event args for events which relate to a single <see cref="Point"/>
  5. /// </summary>
  6. public class PointEventArgs : EventArgs {
  7. /// <summary>
  8. /// Creates a new instance of the <see cref="PointEventArgs"/> class
  9. /// </summary>
  10. /// <param name="p"></param>
  11. public PointEventArgs (Point p)
  12. {
  13. this.Point = p;
  14. }
  15. /// <summary>
  16. /// The point the event happened at
  17. /// </summary>
  18. public Point Point { get; }
  19. }
  20. }