By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,876 Members | 1,191 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,876 IT Pros & Developers. It's quick & easy.

How to don't refresh Control of PictureBox Having?

P: n/a
uses statement:
System.Windows.Forms.PictureBox pictureBox1;
System.Windows.Forms.Panel panel1;

pictureBox1 = new System.Windows.Forms.PictureBox();
panel1 = new System.Windows.Forms.Panel();

//
// panel1
//
panel1.BackColor = System.Drawing.Color.Transparent;
panel1.Location = new System.Drawing.Point(40, 88);
//
// pictureBox1
//
pictureBox1.Image =
((System.Drawing.Bitmap)(resources.GetObject("pict ureBox1.Image")));
pictureBox1.Location = new System.Drawing.Point(16, 16);
pictureBox1.Size = new System.Drawing.Size(248, 224);
pictureBox1.SizeMode =
System.Windows.Forms.PictureBoxSizeMode.StretchIma ge;

pictureBox1.Controls.Add(panel1);

PictureBox.Image is a GIF Animate,so should refresh panel1 in run ,how to
don't.
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.