PC Review


Reply
Thread Tools Rate Thread

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

 
 
Cade Carvell
Guest
Posts: n/a
 
      9th Jul 2003
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

 
Reply With Quote
 
 
 
 
Jeremy Cowles
Guest
Posts: n/a
 
      9th Jul 2003
Please post your binding code (the code that changes the picture would be
helpfull too)


"Cade Carvell" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding control property to class property? Johnny Jörgensen Microsoft C# .NET 5 3rd May 2007 09:22 AM
picturebox image property Jeff Microsoft C# .NET 4 26th Mar 2005 05:09 AM
picturebox image property Jeff Microsoft Dot NET Compact Framework 2 25th Mar 2005 08:56 PM
PictureBox image property grayed out Jeff Microsoft Dot NET Compact Framework 0 20th Mar 2005 11:28 PM
Databinding PictureBox control image property Rabbit Microsoft ADO .NET 2 10th Mar 2004 02:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:53 AM.