Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The project I was working on was nearly complete, until my boss decided he wants more and a bit different (don't you just hate it?).

So..I have a form and i use it to display my app generated plans (stored in a single bitmap -not image file, but bitmap object). Now the problem is I have to have on that form not one, but more plans (hence more bitmap objects). Initially the bitmap object were generated using some of my apps methods and then the object was displayed within the form using the drawImage method.
I was thinking the easiest way to solve the new problem is to replace my bitmap object with an array of bitmap objects and then display each one after the one before it (lower on the form). is there another way to do it?
Posted

The only built in component that I can think of is the ListView with the View property set appropriately (LargeIcon maybe).

Other than that I would think that the best way would be pretty much as you suggest, or maybe use a TabControl, one image per tab with the plan name as the tab text.
 
Share this answer
 
You could always put a flow control panel on your form with top down style set and add picture controls to it one at a time. You could even set auto scroll to true and that way if your picture controls are larger than the form(ie. longer from top to bottom). The scroll bar will appear automatically.

Just a thought, but I have done this before to create a quick and dirty imagelist box. :)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900