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
k
NA
25
0
Help me to compare 2 images with each other.
Nov 20 2008 4:38 PM
I have 2 buttons in my Form.
I set the property of Image of 2 buttons load from 1 image in my hardrive.
But I cannot use "==" operator to check whether two images in two buttons is the same??(I knew they are the same)
ex:
if (button1.Image == button2.Image) //The images in button1 and button I loaded from the same file!
MessageBox.Show("the same images");
else
MessageBox.Show("different images");
--->They show MessageBox02: different images
Please help me how to compare the property of images in 2 buttons.
Thanks in advance.
Reply
Answers (
4
)
Problems with try, catch blocks.
Mail Attachment Size Problem