Questions tagged as 'picturebox'

1
answer

How do I download image contained in PictureBox with database in C #?

I have a question that I can not solve and I am looking for your help ... I comment, I have a datagrid which has a column type image in which I use as a preview of my image that is loaded from a database. Often I have a button type column...
asked by 07.12.2018 / 23:00
1
answer

Avoid flickering Winforms

I am developing a simple game (Snake) in winforms . I use pictureBox that I use canvas (game board) this canvas is repainted for each execution of a Timer with interval of 100ms. g = canvas.CreateGraphics(...
asked by 16.08.2018 / 14:03
1
answer

How to create a picturebox dynamically in C #?

Well what I want to do is the generation of several boxes of images in my application of C #, in a few words a history of the images uploaded to my application. I currently have the following code: Image Generation Code (Does not work)....
asked by 05.04.2017 / 19:14
1
answer

How to put in resize mode a PictureBox created dynamically in C #?

Good morning. I am creating an application in C # under VisualStudio 2013. In it when the user clicks on an option in the context menu of the right mouse button on a Panel, I add a PictureBox to the Panel. So far everything is perfect b...
asked by 31.07.2017 / 19:46
1
answer

Draw a picturebox, drawing lines and joining points

I have a form with winForms and c # where I have two pictureboxes and some textboxes that fill in these values generate a graphic joining the points x1 - > x2 ... then x2 - > x3 and so on. The code I have is this. In the textChanged e...
asked by 29.05.2017 / 10:08
1
answer

What is the filepath of the images that are in the Resources folder of my C # project in VS?

I'm trying to make a function that depending on the model of a car, you choose a certain image for a pictureBox. I was able to put the image in the pictureBox in the following way: pictureBoxAuto.BackgroundImage = Properties.Resources.imagen....
asked by 27.08.2016 / 10:02
3
answers

How to avoid blocking the file that you upload in PictureBox using Image.FromFile?

I want to upload an image but when I try to replace the file it returns that the file is being used. How can I avoid taking the file directly, leaving me the possibility of being able to replace it? Usage: PictureBox1.Image = Image.FromFile...
asked by 29.11.2017 / 22:49
0
answers

is there a faster way than the picturebox c #?

I'm trying to improve the performance of the images since when I open a child form, the images of this at the beginning appear with what was the parent form behind and afterwards and if the image is put that goes, that is the typical behavior wh...
asked by 23.04.2017 / 01:44
0
answers

Send an image of a PictureBox to a "report.rdlc" without a database

I have a question about how I can display an image by getting the image directly from a PictureBox and pass it to a "report.rdlc" using ReportViewer in VB .NET . I have found a code in C # , but I have not managed to show the image when pr...
asked by 03.12.2016 / 11:47
1
answer

Image from imageList to Picturebox comes out blurred (c #)

I'm trying to insert an image from an ImageList to a PictureBox, but when I load the image, it goes very blurry, the code is this: P3.BackgroundImage = imageList1.Images [0]; It should come out clear.     
asked by 22.09.2018 / 06:34