Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8303217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:28:18+00:00 2026-06-08T17:28:18+00:00

I am extending an image viewer to support slideshow functionality. I have used a

  • 0

I am extending an image viewer to support slideshow functionality. I have used a split container to separate the main form into two panels.

  • Panel on the left will contain a list of thumbnails
  • Panel on the right will contain the full-size image

Each panel supports drag and drop. When I drop an image file into the thumbs panel, it should create a thumbnail and display it on the panel, starting from the top and working its way down as more images are dropped. By default, the first image available will be shown on the panel to the right.

When I select another thumbnail, the viewer will display the full-size image.

What is a good way to implement this list of thumbnails? I’ve looked through the list of controls available but can’t decide which one is most appropriate for this.

I was thinking of dynamically creating PictureBox objects, but then it didn’t seem obvious how after I register a Click event, how I would identify which PictureBox the event was sent from.

I am looking for one of two possible types of answers

  • going ahead with the PictureBox creation idea, but understanding how I should be handling the Click events to correctly show the desired image.
  • an alternative suggestion for displaying the list of thumbs (if the PictureBox idea is not feasible)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T17:28:20+00:00Added an answer on June 8, 2026 at 5:28 pm

    You can tie the event handler to multiply controls and identify them by the “sender” parameter. It always points to the event sender.

    void OnClick(object sender, KeyEventArgs e) {
        PictureEdit editor = (PictureEdit)sender;
    }
    
    Sub OnClick(ByVal sender As Object, ByVal e As KeyEventArgs)
        Dim editor as PictureEdit = CType(sender, PictureEdit)
    End Sub
    

    Alternatively, you can create your own (not that complex) control divided into rectangular areas displaying images.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom control extending Image, and I will put some more data
I have used the draw() method of my SitesOverlay class that is extending the
I have used the following tutorial to make a text block over an image:
I am extending the ImageBox control from EmguCV. The control's Image property can be
I'm extending a constructor class' functionality via the prototype method, but I'm having trouble
I have a ModalPopupExtender extending a panel and in the panel, there is a
I have an Android Activity that displays Google Maps through MapView control and extending
I create a custom image view by extending ImageView that just draws some text
I have created a image div in html and below is the code <div
I have a java class that extends from JPanel. The basic purpose of extending

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.