public void BroadcastMessage(string message)
 {
     foreach (ClientConnection ConnectedClient in ClientList)
     {
         MessageMethod.Send(ConnectedClient.GetCurrentConnection(), message);
     }
 }
 private void Server_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (TCPListener != null)
     {
         KeepListening = false;
         foreach (ClientConnection ConnectedClient in ClientList)
         {
             ConnectedClient.GetCurrentConnection().Close();
         }
         ClientList.RemoveAll(GetStatus);
         TCPListener.Stop();
     }
 }