473,386 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 1884

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set...
8
by: Benoit Martin | last post by:
I had to draw my own control because I couldn't find any control doing what I wanted it to do. This control has a grid that I need to have control over. To do that, I draw each line of the grid...
17
by: SamSpade | last post by:
picDocument is a picturebox When I do picDocument.Invalidate() the box paints. But if instead I do picDocument.Refresh() the box does not paint. What does Refresh do. I guessed it did an...
5
by: BrianW | last post by:
I am working on a program that has multiple picturebox controls that a user is allowed to move around which are contained within a panel control for visual placement. In my mousedown event, I set...
0
by: kylin | last post by:
uses statement: System.Windows.Forms.PictureBox pictureBox1; System.Windows.Forms.Panel panel1; pictureBox1 = new System.Windows.Forms.PictureBox(); panel1 = new...
7
by: MasterMax1313 | last post by:
I'm trying to make a grid of picture box controls, which I do via code. Each of these boxes has a mouseclick, mousedown, mouseup, and mouseenter event. The mouseclick event is simple enough and works...
1
by: euroluxantiques | last post by:
Hi All, Using VB.Net with SQL Server. I have a form that I create a number of Picture Boxes on dynamically, based on a stored procedure that retrieves a listing of images available for a...
1
jamesd0142
by: jamesd0142 | last post by:
usng a timer set to 100 intervals... i have this code which i am trying to loop through some images and changes the picturebox to the image every 100ms... i have images named: 1.jpg 2.jpg...
0
by: rohit1979 | last post by:
Hi, I have shifted the origin of a picturebox and changed its extents using the following statements: Call SetViewportOrgEx(PictureBox1.hDC,100, ViewExtY-100, ViewOrgOld) Call...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.