BeforeSelectionEventArgs.cs 557 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace SOTF_Savegame_Editor.PictureZBoxEventArgs {
  7. public class BeforeSelectionEventArgs {
  8. private Point _p;
  9. public BeforeSelectionEventArgs(Point p) {
  10. this._p = p;
  11. }
  12. public Point Location { get => this._p; }
  13. public int X { get => _p.X; set => _p.X = value; }
  14. public int Y { get => _p.Y; set => _p.Y = value; }
  15. public bool Cancel { get; set; } = false;
  16. }
  17. }