About 1,130 results
Open links in new tab
  1. picturebox - C# - Click event sending a value - Stack Overflow

    Jun 1, 2013 · I'm using a for-loop to add values into an array of PictureBox and binding a click event to each one. I'm looking for a way of getting the data of a PictureBox after clicking on it. Since it's an …

  2. Tutorial: Add code to the picture viewer Windows Forms app - Visual ...

    Sep 20, 2024 · Learn how to add C# or VB code to support the UI controls for a picture box, checkbox, and button in a picture viewer WinForms application (.NET Framework) with Visual Studio.

  3. C# Tutorial – How to add picture boxes in random positions

    In this tutorial we will explore how to make a windows form application that will spawn a picture box on the form every second and then it will be linked to a click event which will trigger when the user clicks …

  4. Add picture boxes in random position in the windows form and click

    In this tutorial we will explore how to make a windows form application that will spawn a picture box on the form every second and then it will be linked to a click event which will trigger when the user clicks …

  5. Using PictureBox In Windows Forms - C# Corner

    You can add a button-click event handler by simply double-clicking on the button control event handler. We can open and save the picture using saveFileDialog and openFileDialog.

  6. adding an event to every member of pictureBox array | Tek-Tips

    May 19, 2007 · Is there any way to define a universal click event for all the pictureboxes in the array that would only modify the clicked picturebox? I'm trying to make them visible and assigning an image …

  7. C#How to use PictureBox control? - CodeSteps

    Aug 18, 2019 · We have to write the code, which should load the image first, from the given location, and then assign the Image object to this property, to display the image on the control.

  8. c# - Adding a mouse click eventhandler to a PictureBox - Stack Overflow

    Nov 19, 2012 · Best way in WinForms to subscribe to event - select your control in designer, go to Properties window and select events tab. Then choose any event you want (Click, MouseClick, etc) …

  9. C# Tutorial – Picture Box collision between Player and ... - Moo ICT

    We want to do all of this from the C# programming script. As a added bonus lets also code in how to change the back colour of dynamically created picture boxes in the app.

  10. C# PictureBox: Windows Forms - The Developer Blog

    In the next step of this tutorial, we assign an image to the PictureBox from the disk. There are several ways of doing this, but the way we use here allows you to quickly resize the PictureBox control so …