Mojo
Help for WinForms app in visual studio
I am creating something for my school project so im fairly new to c# and coding as a whole but basically i have a main form with loads of topic buttons and depending on which button is selected it will open up a new form which is instantiated so I can change the title depending on which button is clicked. On this page i want various picture boxes with different background images i know how i would change the images. However, each topic has a different amount of picture boxes required and im not sure how to only get the correct number when pressing the button. My only idea is to put in the maximum I need which is 8 and make the extra unused ones the same colour as the background of the form so they appear empty which is extremely clunky and doesn't work well. Any ideas, any help would be greatly appreciated?
8 replies