private void AddMessages(string message)
 {
     if (MessagesList.InvokeRequired)
     {
         Invoke(new Action(() =>
         {
             AddMessages(message);
         }));
         return;
     }
     MessagesList.AppendText($"{message ?? string.Empty}{Environment.NewLine}");
 }