private void HandleClientProgress(object sender, global::CommunicationLibrary.CommunicationProgressEventArgs e)
 {
     if (InvokeRequired)
     {
         BeginInvoke(new global::System.Windows.Forms.MethodInvoker(() => ShowProgress(e)));
     }
     else
     {
         ShowProgress(e);
     }
     clientBusy = false; // 20171214 The HandleClientProgress method is executed once a
                         // message has been succesfully sent.
 }
 private void ShowProgress(global::CommunicationLibrary.CommunicationProgressEventArgs e)
 {
     global::CustomUserControlsLibrary.ColorListBoxItem item;
     item = new global::CustomUserControlsLibrary.ColorListBoxItem(e.Message, communicationLogColorListBox.BackColor, communicationLogColorListBox.ForeColor);
     communicationLogColorListBox.Items.Insert(0, item);
 }