ToolNull.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. using PaintDotNet.Annotation.Command;
  2. using PaintDotNet.Annotation.Enum;
  3. using System.Windows.Forms;
  4. namespace PaintDotNet.Annotation
  5. {
  6. /// <summary>
  7. /// null
  8. /// </summary>
  9. public abstract class ToolNull : Tool
  10. {
  11. public static void OnMouseDown(ISurfaceBox drawArea, MouseEventArgs e)
  12. {
  13. }
  14. public static void OnMouseMove(ISurfaceBox drawArea, MouseEventArgs e)
  15. {
  16. }
  17. public static void OnMouseUp(ISurfaceBox drawArea, MouseEventArgs e)
  18. {
  19. }
  20. public static void OnMouseClick(ISurfaceBox surfacebox, MouseEventArgs e)
  21. {
  22. }
  23. /// <summary>
  24. /// 鼠标左键双击
  25. /// </summary>
  26. /// <param name="drawArea"></param>
  27. /// <param name="e"></param>
  28. public static void OnMouseLeftDoubleClick(ISurfaceBox surfacebox, MouseEventArgs e)
  29. {
  30. }
  31. /// <summary>
  32. /// 删除按键
  33. /// </summary>
  34. /// <param name="surfacebox"></param>
  35. /// <param name="e"></param>
  36. public static void OnDelKeyDown(ISurfaceBox surfacebox, MouseEventArgs e)
  37. {
  38. }
  39. /// <summary>
  40. /// 删除划痕处理&污迹处理选择区域的痕迹
  41. /// </summary>
  42. /// <param name="surfacebox"></param>
  43. /// <param name="e"></param>
  44. public static void OnDel2KeyDown(ISurfaceBox surfacebox, MouseEventArgs e)
  45. {
  46. }
  47. public static void beginWithNewObject()
  48. {
  49. }
  50. }
  51. }