private void AddPlayer() { if (m_playerList_panel.Controls.Count >= 5) { return; } PlayerSelectionUserControl playerSelectionUserControl = new PlayerSelectionUserControl(this, m_mediaManager); m_playerList_panel.Controls.Add(playerSelectionUserControl); }
public void RemovePlayer(PlayerSelectionUserControl playerSelection) { m_playerList_panel.Controls.Remove(playerSelection); }