UpDownButtonPaintEventArgs.cs 782 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System;
  2. using System.Drawing;
  3. using System.Windows.Forms;
  4. namespace LYFZ.OtherExpansion.SkinControl
  5. {
  6. public class UpDownButtonPaintEventArgs : PaintEventArgs
  7. {
  8. private bool _mouseOver;
  9. private bool _mousePress;
  10. private bool _mouseInUpButton;
  11. public bool MouseOver
  12. {
  13. get
  14. {
  15. return this._mouseOver;
  16. }
  17. }
  18. public bool MousePress
  19. {
  20. get
  21. {
  22. return this._mousePress;
  23. }
  24. }
  25. public bool MouseInUpButton
  26. {
  27. get
  28. {
  29. return this._mouseInUpButton;
  30. }
  31. }
  32. public UpDownButtonPaintEventArgs(Graphics graphics, Rectangle clipRect, bool mouseOver, bool mousePress, bool mouseInUpButton) : base(graphics, clipRect)
  33. {
  34. this._mouseOver = mouseOver;
  35. this._mousePress = mousePress;
  36. this._mouseInUpButton = mouseInUpButton;
  37. }
  38. }
  39. }