IFormAssociate.cs 550 B

123456789101112131415161718192021
  1. using System.Windows.Forms;
  2. namespace PaintDotNet
  3. {
  4. /// <summary>
  5. /// Used by classes to indicate they are associated with a certain Form, even if
  6. /// they are not contained within the Form. To this end, they are an Associate of
  7. /// the Form.
  8. /// </summary>
  9. public interface IFormAssociate
  10. {
  11. /// <summary>
  12. /// Gets the Form that this object is associated with, or null if there is
  13. /// no association.
  14. /// </summary>
  15. Form AssociatedForm
  16. {
  17. get;
  18. }
  19. }
  20. }