private void displayCard(List<double> Player,Card card)
 {
     StackPanel newCard = new StackPanel();
     newCard.Margin = new Thickness(Player[0], Player[1], Player[2], Player[3]);
     newCard.Visibility = System.Windows.Visibility.Visible;
     grid1.Children.Add(newCard);
     System.Windows.Controls.Image img = new System.Windows.Controls.Image();
     img.Source = new BitmapImage(new Uri("../Images/" + card.getSuit() + "-" + card.getFace() + "-75.png", UriKind.RelativeOrAbsolute));
     newCard.Children.Add(img);
 }
	public void addCardToHand( Card temp )
	{
		hand.Add(temp);
	}
	public void resetHand( )
	{
		hand.Clear();
		splitCard2 = null;
		hand1Value = 0;
	}
	public void playSplitHand1()
	{
		splitCard2 = getLastCard();
        hand.RemoveAt(1);
	}