2
0

PointEventArgs.cs 594 B

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