473,395 Members | 1,745 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,395 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 1885

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.