ReportComponentBase.Core.cs 975 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using FastReport.Utils;
  2. namespace FastReport
  3. {
  4. partial class ReportComponentBase
  5. {
  6. /// <summary>
  7. /// Does nothing
  8. /// </summary>
  9. /// <param name="e">Draw event arguments.</param>
  10. public void DrawMarkers(FRPaintEventArgs e)
  11. {
  12. }
  13. /// <summary>
  14. /// Copies event handlers from another similar object.
  15. /// </summary>
  16. /// <param name="source">The object to copy handlers from.</param>
  17. public virtual void AssignPreviewEvents(Base source)
  18. {
  19. ReportComponentBase src = source as ReportComponentBase;
  20. if (src == null)
  21. return;
  22. Click = src.Click;
  23. }
  24. /// <summary>
  25. /// Does nothing
  26. /// </summary>
  27. /// <param name="e"></param>
  28. /// <returns></returns>
  29. protected bool DrawIntersectBackground(FRPaintEventArgs e)
  30. {
  31. return false;
  32. }
  33. }
  34. }