public void DisplayPlayerMuckedHand(String playerName, Hand hand) { EntityCardListPanel ehp = new EntityCardListPanel(); ehp.EntityName = playerName; ehp.CardListToDisplay = hand; /* We set the initial size of the component to the largest possible, the * addPanel method will take care of setting the proper size */ ehp.Size = entityHandsContainer.Size; entityHandsContainer.AddPanel(ehp, MAXIMUM_CARD_LIST_PANEL_HEIGHT); }