ButtonBaseControl.DesignExt.cs 714 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Windows.Forms;
  5. using System.Drawing;
  6. using System.ComponentModel;
  7. using FastReport.Utils;
  8. namespace FastReport.Dialog
  9. {
  10. partial class ButtonBaseControl
  11. {
  12. #region Properties
  13. /// <summary>
  14. /// This property is not relevant to this class.
  15. /// </summary>
  16. [Browsable(false)]
  17. public new bool AutoFill
  18. {
  19. get { return base.AutoFill; }
  20. set { base.AutoFill = value; }
  21. }
  22. #endregion
  23. #region Private Methods
  24. private bool ShouldSerializeImage()
  25. {
  26. return Image != null;
  27. }
  28. #endregion
  29. }
  30. }