void label_Click(object sender, EventArgs e)
 {
     if (clientView == null)
     {
         clientView = new ClientView(userName, this);
         label.BackColor = Color.Green;
         clientView.Show();
     }
 }
 public ClientDetails(String _ClientID, TcpClient _clientSocket)
 {
     ClientID = _ClientID;
     clientSocket = _clientSocket;
     messages = new List<MessageContainer>();
     ClientName = "";
     userName = ClientID.Split(':')[0];
     password = ClientID.Split(':')[1];
     label = new Label();
     label.AutoSize = true;
     label.BorderStyle = BorderStyle.FixedSingle;
     label.Width = 216;
     label.MinimumSize = new System.Drawing.Size(205, 20);
     label.Margin = new Padding(0, 0, 0, 5);
     label.Click += label_Click;
     label.MouseEnter += label_MouseEnter;
     label.MouseLeave += label_MouseLeave;
     clientView = null;
     server = null;
 }