/// <summary>
 /// Sends a notification status message.
 /// </summary>
 /// <param name="type">The status type.</param>
 /// <param name="text">The left text.</param>
 /// <param name="image">The left image.</param>
 public void Send(ApplicationStatus.StatusType type, string text, Image image)
 {
     lock (this.sync)
     {
         // Set the message.
         this.message = new ApplicationStatusMessage(type, text, image);
         // Call the delegate.
         this.actionSend(this);
     }
 }
 /// <summary>
 /// Sends a notification status message.
 /// </summary>
 /// <param name="type">The status type.</param>
 /// <param name="leftText">The left text.</param>
 /// <param name="rightText">The right text.</param>
 /// <param name="leftImage">The left image.</param>
 /// <param name="rightImage">The right image.</param>
 public void Send(ApplicationStatus.StatusType type, string leftText, string rightText, Image leftImage = null, Image rightImage = null)
 {
     lock (this.sync)
     {
         // Set the message.
         this.message = new ApplicationStatusMessage(type, leftText, rightText, leftImage, rightImage);
         // Call the delegate.
         this.actionSend(this);
     }
 }
 /// <summary>
 /// Creates a new event arguments instance.
 /// </summary>
 /// <param name="message">The status message.</param>
 public ApplicationStatusMessageEventArgs(ApplicationStatusMessage? message)
 {
     this.Message = message;
 }