picturebox Questions

5

Solved

I am currently working with AForge, and have an on new frame event that posts the frame, as a bitmap, into a picturebox. 90% of the time it works great... UNLESS I fiddle with something on the winf...
Gabardine asked 17/4, 2013 at 13:13

4

In my C# project I have used the Tools to add a PictureBox control. I have set the image location to a location of a PNG on our network and I am having the same trouble as others where if the image...
Remorseful asked 14/2, 2014 at 17:50

5

Solved

How can I know at what pixel of a pictureBox the mouse is placed (coordinates)?
Isom asked 22/11, 2011 at 6:44

14

How can I clear draw image on picturebox? The following doesn't help me: pictbox.Image = null; pictbox.Invalidate(); Please help. EDIT private void pictbox_Paint(object sender, PaintEventArgs ...
Tetrastichous asked 2/5, 2011 at 10:45

11

using (SqlConnection myDatabaseConnection = new SqlConnection(myConnectionString.ConnectionString)) { myDatabaseConnection.Open(); using (SqlCommand SqlCommand = new SqlCommand("Select Photo from...
Antecede asked 29/5, 2013 at 19:18

3

Solved

I'm using WinForms. I have a picture-box in my form. When I open a picture in the picture-box I am able to invert the colors back and forth on a click of a button, but my code is extremely slow. Ho...
Ruttger asked 8/10, 2015 at 19:57

3

Solved

I need the precise position of my mouse pointer over a PictureBox. I use the MouseMove event of the PictureBox. On this PictureBox, I use the "zoom" property to show an image. What is the correc...
Friel asked 6/5, 2012 at 19:33

2

Solved

I am trying to add a text scale to a color image. The agcScale.jpg image (below) is 2 winform labels on the top and bottom and 2 winform pictureboxes on the left and right. The exact same code was ...
Cincinnatus asked 25/10, 2011 at 16:10

8

Solved

I need to fire an event when the mouse is above a PictureBox with the mouse button already clicked and held down. Problems: The MouseDown and MouseEnter event handlers do not work together very ...
Breastplate asked 4/10, 2008 at 2:27

7

Solved

I've a byte array which contains an image binary data in bitmap format. How do I display it using the PictureBox control in C#? I went thru a couple of posts listed below but not sure if I need to...
Giselle asked 6/3, 2012 at 1:54

4

I'm working in visual studio 2012 with C# and I need to Drag a Picture box into another picture box, basically replace the target Picturebox Image with the Dragged Picture box image. How do I do ...
Glendaglenden asked 14/4, 2013 at 21:42

3

Solved

I use the following to write jpgImage to a PictureBox.Image. var jpgImage = new Byte[jpgImageSize]; ... pictureBox.Image = new Bitmap(new MemoryStream(jpgImage)); and I can use the following to ...
Placative asked 27/7, 2011 at 14:2

3

Solved

As the question implies, when I load an image into a pictureBox (using dialog box), it doesn't appear as its original look. in this screen shoot, the image on the left is the one I loaded into the ...
Backside asked 21/8, 2016 at 21:16

3

Solved

I've little question to ask. Let's say I've written an ellipse on pictureBox, then clicked a button. I want pictureBox to refresh itself. I've tried PictureBox.Invalidate(), but could'nt made it...
Vanward asked 27/1, 2012 at 8:25

2

(Please see the edit on the bottom of the question, if you do not want to read the whole story.) Hi, I am new to stackoverflow. Don’t get me wrong, I use it quite often. But up until now I never...
Shandrashandrydan asked 4/3, 2014 at 16:26

7

Solved

I am making an application in C# .NET. I have 8 picture boxes in it. I used PNG images with transparent background but in my form it is not transparent when it comes above another image. I am usin...
Vanpelt asked 11/11, 2013 at 15:39

3

Solved

I have a program in C# with a PictureBox object inside a Form. How do I change its picture? The pictures to chose from are in bin/Pics; they are jpeg in format, if that matters..
Kepler asked 14/7, 2012 at 22:35

3

Solved

I am trying to develop a Windows Mobile 6 (in WF/C#) application. There is only one form and on the form there is only a PictureBox object. On it I draw all desired controls or whatever I want. T...
Ringe asked 11/5, 2010 at 7:21

9

Solved

I have the Image of a PictureBox pointing to a certain file "A". At execution time I want to change the Image of the PictureBox to a different one "B" but I get the following error: "A first ch...
Burnedout asked 26/1, 2011 at 11:17

5

Solved

I have PictureBox picture. I use: picture.Size = bmp.Size; picture.Image = bmp; Let's say there are two integers maxWidth and maxHeigth. I want to add vertical/horizontal scrollbar to picture w...
Twirl asked 17/1, 2011 at 4:58

4

Solved

Why does MouseMove event of a PictureBox seem to be fired continuously even if the mouse is not moved? I have tried the following codes to prove it (by simply creating a new form with a PictureBox ...
Tray asked 12/12, 2011 at 23:16

4

I have a winforms app. In development mode, when debugging from Visual Studio .NET 2003 (Yes, I know it's old, but this is a legacy project), I get this error when I try to open a new form. In orde...
Tuberculosis asked 5/7, 2017 at 21:19

4

How do I know when the image of the picturebox change? Is there an event for an image change?
Hazen asked 26/9, 2011 at 6:30

2

Solved

I want to implement zoom for an image. I don't want to resize the PictureBox, but the image itself. How do I do this?
Piscine asked 6/6, 2012 at 14:11

3

Solved

I'm trying to move the control named pictureBox1 by dragging it around. The problem is, when it moves, it keeps moving from a location to another location around the mouse, but it does follow it......
Bethannbethanne asked 5/5, 2013 at 13:14

© 2022 - 2024 — McMap. All rights reserved.