469,267 Members | 1,094 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

How to don't refresh Control of PictureBox Having?

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
0 1725

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Benoit Martin | last post: by
17 posts views Thread by SamSpade | last post: by
jamesd0142
1 post views Thread by jamesd0142 | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.