[Mono-list] Events / Assign Variable Event
Dan Maltes
dan@astusa.com
Tue, 27 Jul 2004 15:13:11 -0400
Wouldn't a simple try..catch..finally work for you? Or a using statement?
-Dan
-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Pablo Fischer
Sent: Tuesday, July 27, 2004 1:58 PM
To: mono-list@lists.ximian.com
Subject: [Mono-list] Events / Assign Variable Event
Hi!
I have a class that returns a Stream of a downloaded image, so one the image
is downloaded I just assign it to a pixbuf for example
Pixbuf p = new Pixbuf (RemoteImage.Image);
However, I need to Close the request, is there an event that can be executed
once I pass a variable to another object?. What I'm looking for is to close
the Stream once I create the Pixbuf (new Pixbuf
(RemoteImage.Image)) automatically.
Any ideas?
Thanks!
Pablo
--
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
Fingerprint: 5973 0F10 543F 54AE 1E41 EC81 0840 A10A 74A4 E5C0
http://www.pablo.com.mx http://www.debianmexico.org