468,119 Members | 1,957 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,119 developers. It's quick & easy.

Binding the Image property of the picturebox to a another class.property

Hello,
I have a class that I have a public property on it for an Image. In
my class I change the image, different image etc. Anyway, Everythign
works fine for the first image. I an bind the image property of
picturebox to the class. But, when I change the image property of my
class, the Image of the picture box doesn't change. Shouldn't this
work. I thought that if you bound a control to a data source (Class),
that when it changed, the picture box should too.
Did I miss something, or isnt' this supposed to work this way?

Thanks,
Cade

Nov 19 '05 #1
1 2298
Please post your binding code (the code that changes the picture would be
helpfull too)
"Cade Carvell" <cc******@notmeNBSUSA.com> wrote in message
news:3F**************@notmeNBSUSA.com...
Hello,
I have a class that I have a public property on it for an Image. In
my class I change the image, different image etc. Anyway, Everythign
works fine for the first image. I an bind the image property of
picturebox to the class. But, when I change the image property of my
class, the Image of the picture box doesn't change. Shouldn't this
work. I thought that if you bound a control to a data source (Class),
that when it changed, the picture box should too.
Did I miss something, or isnt' this supposed to work this way?

Thanks,
Cade


Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jesse | last post: by
4 posts views Thread by Ed Landau | last post: by
6 posts views Thread by anonymous | last post: by
7 posts views Thread by G .Net | last post: by
4 posts views Thread by =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post: by
reply views Thread by =?Utf-8?B?RG9jdG9y?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.