© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
7 replies
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?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Seperating files, WinForms, Visual Studio
C#CC# / help
2y ago
Visual Studio 2022 winforms problem
C#CC# / help
3y ago
❔ ctrl + z not working in visual studio winforms
C#CC# / help
3y ago
❔ Visual Studio Help
C#CC# / help
3y ago