//Invite Button Press private void InviteBtn_Click(object sender, EventArgs e) { foreach (User u in AllUsers.SelectedItems) { chat.Invite(u); } }