picturebox

  1. R

    Why do I lose mouse events over a picturebox ?

    This is regarding a WinForms application written in c# using .Net 4.7.2. I have a form that has a Top/Down splitter panel. The lower split panel contains Left/Right splitter panel. The Right split panel contains two panels, only one of which is visible at any given time: one...
  2. H

    Question Drag and Drop picture boxes

    Hello. I'm looking for a simple drag and drop game. The main idea is to show some simple mathematic equation like 2+2 and what I want to do is to show 3 random answers (from 1 to 9) where one of them is correct. To answer the equation, I want the picturebox to be dropped into specified square...
  3. C

    BayerBG8 to RBG image and putting in PictureBox

    I am having a lot of trouble converting a BagerBG8 byte array to RGB and then populating the RGB image into a pictureBox. I believe the code below solves the transformation to RGB but I cannot get that new byte array to fit inside the pictureBox. int src_width = 3840; int src_height = 2748...
  4. V

    Question Zoom Image in the PictureBox where user make selection

    Gurus, I have a c# windows form application. There is a PictureBox within a Panel. An image is loaded in the PictureBox. I want the image to be zoomed the area user selects. The user will select by dragging using the left mouse button. What i did is on the mouse down event, i saved the x/y in...
  5. S

    Question Picturebox not refresh when the form is in background (not focus)

    Purpose: Mirror a window of an external process (directx game) by capturing images from this window and presenting the images in a picturebox using a timer. Problem: When my application is in focus, everything happens fine! But if I switch the focus to the Directx Game window the picturebox...
  6. H

    Question Random Circles in Picture Box

    Hello! I would love to know how can i draw circles in random positions but without them getting in the way of each other. I want them to be seperated at least 50 pixels from each other but without them leaving the boundaries of the Picture Box. Please help me out with this i would be so...
  7. A

    Question draw circle

    Hi I want to create function to draw circle put using this : nx = x + r *Math.Sin(th * 22 / 7 / 180); ny = y + r2 *Math.Cos(th * 22 / 7 / 180); and draw them in picture box using SetPixel method.
  8. F

    Save a picture from pictureBox to my PC

    Hi, I have a picture showing in a "pictureBox1" in my program, does anyone know how to save the picture from a "pictureBox" to the PC when a button is pressed?
Top Bottom