bitmap help

Dec 11 2007 7:08 AM
Im am pretty new to the c# language only 3months into my course and im have alot of trouble calling a bitmap for my project
public void DrawHand(Graphics cardSpace1, Graphics cardSpace2)
        {
            playersHand.GetCards();
            cardpic1 = playersHand.Card1FileName;
            cardpic2 = playersHand.Card2FileName;

            card1 = new Bitmap("@../CardDeck/" + (cardpic1) + ".jpg");
            card2 = new Bitmap("@../CardDeck/" + (cardpic2) + ".jpg");

            cardSpace1.DrawImage(card1, 0, 0, 0, 0);
            cardSpace2.DrawImage(card2, 0, 0, 0, 0);
            GetScore();

        }
dats my code the address im pretty sure is right the folder is saved in the bin folder wit debug.
Any help will be much appreciated

Answers (3)