using System; using System.Windows.Forms; namespace Common.Infrastructure.Messaging { /// /// A message that can be sent to notify registered listeners that a modal window can be closed. /// public class CloseModalMessage : CloseModalMessage { /// /// Initializes a new instance of the class. /// public CloseModalMessage(DialogResult dialogResult) : base(dialogResult) { } /// /// Initializes a new instance of the class. /// /// The result of the modal window. public CloseModalMessage(DialogResult dialogResult, object result) : base(dialogResult, result) { } } }