469,935 Members | 1,653 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

How to change Picturebox image during MouseUp event in C#.net

Code for:
How to change picturebox during Runtime. I want this Code in C#.net
I have one picturebox Image and i want to change it during MouseUp Event at Runtime. Tell me how can i give Imagepath to the PictureBox.
Aug 20 '08 #1
1 2624
7,872 Expert 4TB
In the mouseup event create an image/bitmap object of the picture you want (if you don't already have it) then set it as either the .BackgroundImage or .Image of your picturebox, depending on which one you want to replace.
Aug 20 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Typpo | last post: by
reply views Thread by akh | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.