TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rachel Finan
NA
6
0
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
Reply
Answers (
3
)
ListviewCheckbox
How can you view and display your text file to your C# windows application?