Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [picturebox]

The PictureBox is a control in the Windows Forms system that provides a way to display an image. It can handle many different image formats.

picturebox
0 votes
1 answer
49 views

Is there a reason why BringToFront() and SendToBack() functions for pictureBoxes are not working on my VB forms program?

I'm coding a UI using pictureboxes as my buttons and menus. They function well, however when my popup menu pops up, it pops up behind my UI buttons. Alongside this, the transparency from both the ...
Jeffeffo's user avatar
0 votes
1 answer
81 views

Two different ideas - two different problems. Transparent background works = Click support does not work. How to merge these two ideas?

In the approach below, everything works fine, the logic is processed well by the program, but... It loads my images "with background". The "board" image is displayed, followed by ...
Layla98's user avatar
  • 21
0 votes
0 answers
19 views

Resizing picturebox programatically in vb.net [duplicate]

I am trying to resize a picturebox programmatically in vb.net. I have a picture box with a width of 1080 and a height of 1920. I want to keep the height the same and change the width to 608. I ...
Danielle's user avatar
0 votes
1 answer
93 views

VB.NET - The Program Doesn't Read All The Images In The Folder

My Program In VB.NET Langauage. This Is The Code : Imports System.IO Public Class Form1 Dim i As Integer = 0 Dim g As Integer = 0 Dim array_1(1000) As String Private Sub ...
Anas Alarja's user avatar
1 vote
0 answers
129 views

Open .webp image in picturebox (Winforms, C#)

Do you have any suggestions on importing .webp images in pictureboxes without using external libraries? I read on a post here that in theory System.Drawing supports .webp format but found nothing ...
grimoiredark's user avatar
0 votes
1 answer
62 views

Cloning an image file when pressing a button in a C# form application

I have an image box in the C# form application and I want to clone that image when I press it.I tried this code but I didn't get any results private void pictureBox9_Click(object sender, EventArgs e) {...
Arif Şenel's user avatar
0 votes
0 answers
44 views

How can I force PictureBoxes to load at the same time after changing their properties?

I have a program which needs to move many images down at the same time, but the PictureBoxes load in from left to right after having their height increased, which is fairly noticeable. for (int i = 0; ...
Emilia979's user avatar
0 votes
0 answers
27 views

How to update a region using ExcludeClip

I'm trying to implement a solution that @RezaAghaei provided in this post Creating Custom Picturebox with Draggable and Resizable Selection Window. The process for creating the control has already ...
Luiz's user avatar
  • 55
0 votes
1 answer
91 views

How to make drawings in a PictureBox underneath a transparent custom control

I have a problem that is either quite easy to solve or is too complex, and I am already going crazy with it.... Next, I am developing an application in VB.NET (WindowsForms) to take screenshots and be ...
Luiz's user avatar
  • 55
0 votes
1 answer
59 views

C# WinForms drawing a Bitmap on a PictureBox draws too many times

I use a C# WinForms application with some PictureBoxes in there. I drew some figures, at first (because of the size of the boxes) I didn't notice an error, but after a few boxes I noticed, that my ...
Steve's user avatar
  • 11
0 votes
1 answer
65 views

how to show media in pictureBox? [closed]

I just want to get msg from (any) channel and if it have media (check by flag) show it in pictureBox. howto show media in pictureBox from await client.DownloadFileAsync(photo, fileStream); or another ...
Sam Arcanum's user avatar
-3 votes
1 answer
97 views

In VB.Net, both code examples achieve the same thing, but which is better?

I checked all the similar questions but couldn't find an answer. Please could someone advise which is better and why? I have a Picture Box and in Paint, I am drawing horizontal lines with the ...
user1377723's user avatar
0 votes
0 answers
42 views

how to merge two picturebox and save in a third picturebox

I'm here with another dilemma and I need your help. Let's go.... I have a custom control that you can draw on it, arrow, square and freehand, I use it together with a picturebox to capture the user's ...
Luiz's user avatar
  • 55
0 votes
0 answers
31 views

C# draw in PictureBox "removes DPI scale"

I have a dialog box with a PictureBox. I am on a screen with 150% DPI scale... When the dialog box displays on the screen... All is ok. But as soon as I try assigning an image on the PictureBox, the ...
user3256556's user avatar
0 votes
0 answers
14 views

Resolving Coordinate Misalignment in Zoomable PictureBox

The issue involves a PictureBox control embedded within a custom UserControl in a Windows Forms application. The UserControl has its AutoScaleMode set to inherit, AutoScroll disabled, AutoSize ...
Zimo's user avatar
  • 332

15 30 50 per page
1
2 3 4 5
175