MovingEventArgs.cs 609 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Drawing;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace SmartCoalApplication.Core
  8. {
  9. public sealed class MovingEventArgs : EventArgs
  10. {
  11. private Rectangle rectangle;
  12. public Rectangle Rectangle
  13. {
  14. get
  15. {
  16. return this.rectangle;
  17. }
  18. set
  19. {
  20. this.rectangle = value;
  21. }
  22. }
  23. public MovingEventArgs(Rectangle rect)
  24. {
  25. this.rectangle = rect;
  26. }
  27. }
  28. }