Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C Sharp only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C Sharp
unload picture
unload picture
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Hrvoje Voda
#1
unload picture
Feb 9 '06, 12:05 PM
How to unload(clear) picture from picturebox?
Hrcko
Mark R. Dawson
#2
Feb 9 '06, 01:25 PM
RE: unload picture
Hi Hrvoje,
set the image property to null, then call Refresh if needed.
Mark Dawson
http://www.markdawson.org
"Hrvoje Voda" wrote:
[color=blue]
> How to unload(clear) picture from picturebox?
>
> Hrcko
>
>
>[/color]
Comment
Post
Cancel
dotnetchic
#3
Feb 9 '06, 01:25 PM
Re: unload picture
Set the image to null and repaint.
PictureBox pictureBox;
pictureBox.Imag e = null;
// assuming the picturebox is embedded in this form
this.Invalidate ;
this.Update
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment